]> git.ipfire.org Git - thirdparty/gnulib.git/commit
selinux-h: Fix compilation errors and link errors in C++ mode.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Jan 2026 00:52:09 +0000 (01:52 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Jan 2026 00:52:09 +0000 (01:52 +0100)
commit144b720464f562e878fb0dadbee2071345cdb61d
treed92b4961f4dc9d2a50bc864c6cd6b0c0d7f49c15
parent53660644684c7cc211d407de004b6d9a4ee02be7
selinux-h: Fix compilation errors and link errors in C++ mode.

* lib/se-selinux.in.h: Mark the functions as 'extern "C"'.
* lib/se-label.in.h: Mark the functions as 'extern "C"'. Avoid implicit
casts from 'void *' to other pointer types.
* lib/se-context.in.h: Likewise.
(context_t): Don't use 'struct context_t'.
ChangeLog
lib/se-context.in.h
lib/se-label.in.h
lib/se-selinux.in.h