X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fse-context.in.h;h=cb7419a5686e2a8292ac5a3bd8ece6294fbad04d;hb=46380c372f75d7a8609c6646e48099a9b84f7ec2;hp=2c36cc20a0516af1eeb5c025abeb6be4dc0b37cc;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/se-context.in.h b/lib/se-context.in.h index 2c36cc20a..cb7419a56 100644 --- a/lib/se-context.in.h +++ b/lib/se-context.in.h @@ -3,24 +3,26 @@ # include +/* The definition of _GL_UNUSED_PARAMETER is copied here. */ + typedef int context_t; -static inline context_t context_new (char const *s _UNUSED_PARAMETER_) +static inline context_t context_new (char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return 0; } -static inline char *context_str (context_t con _UNUSED_PARAMETER_) +static inline char *context_str (context_t con _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return (void *) 0; } -static inline void context_free (context_t c _UNUSED_PARAMETER_) {} +static inline void context_free (context_t c _GL_UNUSED_PARAMETER) {} -static inline int context_user_set (context_t sc _UNUSED_PARAMETER_, - char const *s _UNUSED_PARAMETER_) +static inline int context_user_set (context_t sc _GL_UNUSED_PARAMETER, + char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } -static inline int context_role_set (context_t sc _UNUSED_PARAMETER_, - char const *s _UNUSED_PARAMETER_) +static inline int context_role_set (context_t sc _GL_UNUSED_PARAMETER, + char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } -static inline int context_range_set (context_t sc _UNUSED_PARAMETER_, - char const *s _UNUSED_PARAMETER_) +static inline int context_range_set (context_t sc _GL_UNUSED_PARAMETER, + char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } -static inline int context_type_set (context_t sc _UNUSED_PARAMETER_, - char const *s _UNUSED_PARAMETER_) +static inline int context_type_set (context_t sc _GL_UNUSED_PARAMETER, + char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } #endif