diff options
author | Clint Adams <clint@debian.org> | 2017-01-04 20:39:58 -0500 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2017-01-04 20:39:58 -0500 |
commit | 29d3f78df4630dbee0a141e2be8e77275724b3a8 (patch) | |
tree | 89a97129c5b799046be2af10bde88ea035b59bd1 /lib/se-context.in.h | |
parent | d75f3c567505ad7acd2c1943207b367593652739 (diff) |
New upstream version 4.3
Diffstat (limited to 'lib/se-context.in.h')
-rw-r--r-- | lib/se-context.in.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/se-context.in.h b/lib/se-context.in.h index a692f5a..c3890a2 100644 --- a/lib/se-context.in.h +++ b/lib/se-context.in.h @@ -3,6 +3,9 @@ # include <errno.h> +#ifndef _GL_INLINE_HEADER_BEGIN + #error "Please include config.h first." +#endif _GL_INLINE_HEADER_BEGIN #ifndef SE_CONTEXT_INLINE # define SE_CONTEXT_INLINE _GL_INLINE @@ -29,6 +32,14 @@ SE_CONTEXT_INLINE int context_range_set (context_t sc _GL_UNUSED_PARAMETER, SE_CONTEXT_INLINE int context_type_set (context_t sc _GL_UNUSED_PARAMETER, char const *s _GL_UNUSED_PARAMETER) { errno = ENOTSUP; return -1; } +SE_CONTEXT_INLINE char *context_type_get (context_t sc _GL_UNUSED_PARAMETER) + { errno = ENOTSUP; return (void *) 0; } +SE_CONTEXT_INLINE char *context_range_get (context_t sc _GL_UNUSED_PARAMETER) + { errno = ENOTSUP; return (void *) 0; } +SE_CONTEXT_INLINE char *context_role_get (context_t sc _GL_UNUSED_PARAMETER) + { errno = ENOTSUP; return (void *) 0; } +SE_CONTEXT_INLINE char *context_user_get (context_t sc _GL_UNUSED_PARAMETER) + { errno = ENOTSUP; return (void *) 0; } _GL_INLINE_HEADER_END |