From: Enrico Scholz Date: Tue, 6 Apr 2004 22:57:48 +0000 (+0000) Subject: VC_ATTR_DEPRECATED: added X-Git-Tag: VERSION_0_10~151 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5317ec5570ec01f770ed21a0349ade53f638ecff;p=util-vserver.git VC_ATTR_DEPRECATED: added git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1430 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index 53e7481..af42248 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -34,6 +34,7 @@ # define VC_ATTR_UNUSED __attribute__((__unused__)) # define VC_ATTR_NORETURN __attribute__((__noreturn__)) # define VC_ATTR_CONST __attribute__((__const__)) +# define VC_ATTR_DEPRECATED __attribute__((__deprecated__)) # if __GNUC__*0x10000 + __GNUC_MINOR__*0x100 + __GNUC_PATCHLEVEL__ >= 0x30300 # define VC_ATTR_NONNULL(ARGS) __attribute__((__nonnull__ ARGS)) # define VC_ATTR_ALWAYSINLINE __attribute__((__always_inline__)) @@ -51,6 +52,7 @@ # define VC_ATTR_UNUSED # define VC_ATTR_NORETURN # define VC_ATTR_ALWAYSINLINE +# define VC_ATTR_DEPRECATED # define VC_ATTR_PURE # define VC_ATTR_CONST #endif