mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-23 14:32:08 +00:00
38e49c7187
Fix the following build warning: policydb.c: In function ‘get_symtab_destroy_func’: policydb.c:1581:9: error: cast between incompatible function types from ‘int (*)(char *, void *, void *)’ to ‘void (*)(char *, void *, void *)’ [-Werror=cast-function-type] return (hashtab_destroy_func_t) destroy_f[sym_num]; ^ It turns out that this function and type are long unused in libsepol and are not exported APIs for the shared library, so just remove them. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> |
||
---|---|---|
.. | ||
sepol | ||
Makefile |