X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fse-context.in.h;h=cb7419a5686e2a8292ac5a3bd8ece6294fbad04d;hb=fba7fdb1432af9bf0abece1ec8078ed8ae3af886;hp=d69e809777bf32014117564feb540eef03360399;hpb=169ab5dec0e562548959482e3ff63c96c340e0d1;p=gnulib.git diff --git a/lib/se-context.in.h b/lib/se-context.in.h index d69e80977..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 _GL_UNUSED) +static inline context_t context_new (char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return 0; } -static inline char *context_str (context_t con _GL_UNUSED) +static inline char *context_str (context_t con _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return (void *) 0; } -static inline void context_free (context_t c _GL_UNUSED) {} +static inline void context_free (context_t c _GL_UNUSED_PARAMETER) {} -static inline int context_user_set (context_t sc _GL_UNUSED, - char const *s _GL_UNUSED) +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 _GL_UNUSED, - char const *s _GL_UNUSED) +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 _GL_UNUSED, - char const *s _GL_UNUSED) +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 _GL_UNUSED, - char const *s _GL_UNUSED) +static inline int context_type_set (context_t sc _GL_UNUSED_PARAMETER, + char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } #endif