annotate lib/se-selinux.c @ 17170:661d79eb6d77

selinux-h: better 'inline' * lib/se-context.c, lib/se-selinux.c: New files. * lib/getfilecon.c (map_to_failure): Omit 'inline' for static function. * lib/se-context.in.h (SE_CONTEXT_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * lib/se-selinux.in.h (SE_SELINUX_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * modules/selinux-h (Files, lib_SOURCES): Add lib/se-context.c, lib/se-selinux.c. (Depends-on): Add extern-inline. (configure.ac): Do not require AC_C_INLINE.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 20 Nov 2012 22:25:06 -0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17170
661d79eb6d77 selinux-h: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 #include <config.h>
661d79eb6d77 selinux-h: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
2 #define SE_SELINUX_INLINE _GL_EXTERN_INLINE
661d79eb6d77 selinux-h: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
3 #include <selinux/selinux.h>