selinux-h: better 'inline'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Nov 2012 06:25:06 +0000 (22:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Nov 2012 07:38:51 +0000 (23:38 -0800)
commit2a7c405b01fb6c89664fe15554d96854efb3f837
treeee58fcb75e6cae2b064f1779b97e4db6138e14f2
parent1615c2e6bca01fbc7355043d2218c7c1dce453f5
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.
ChangeLog
lib/getfilecon.c
lib/se-context.c [new file with mode: 0644]
lib/se-context.in.h
lib/se-selinux.c [new file with mode: 0644]
lib/se-selinux.in.h
modules/selinux-h