selinux/libsepol
Patrick Steinhardt 34dc7bcc31 libsepol: replace non-standard use of __BEGIN_DECLS
While most header files already use the common pattern of `extern "C"`
declarations to enable compiling in a C++ project, some header files in
libsepol instead use the macros `__BEGIN_DECLS` and `__END_DECLS`. These
macros are defined in the "sys/cdefs.h" header file, which provides
some non-standard extensions for glibc.

Convert usage of these declarations with the standard `extern "C"`
pattern. This improves compatibility with other libc implementations,
e.g. musl libc.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
2017-06-20 11:03:12 -04:00
..
cil libsepol/cil: Fix bugs when writing policy.conf rules 2017-06-15 13:21:53 -04:00
include libsepol: replace non-standard use of __BEGIN_DECLS 2017-06-20 11:03:12 -04:00
man libsepol: constify sepol_genbools()'s boolpath parameter 2017-03-29 10:26:44 -04:00
src libsepol: Fix neverallow bug when checking conditional policy 2017-06-14 11:05:11 -04:00
tests sort input files 2017-06-01 14:00:30 -04:00
utils sort input files 2017-06-01 14:00:30 -04:00
.gitignore libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
VERSION Update VERSION files for 2.7-rc2 release. 2017-06-16 12:50:03 -04:00