projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtol: remove dependency on wchar
[gnulib.git]
/
lib
/
se-context.in.h
diff --git
a/lib/se-context.in.h
b/lib/se-context.in.h
index
2c36cc2
..
cb7419a
100644
(file)
--- a/
lib/se-context.in.h
+++ b/
lib/se-context.in.h
@@
-3,24
+3,26
@@
# include <errno.h>
# include <errno.h>
+/* The definition of _GL_UNUSED_PARAMETER is copied here. */
+
typedef int context_t;
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; }
{ 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; }
{ 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; }
{ 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; }
{ 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; }
{ 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
{ errno = ENOTSUP; return -1; }
#endif