--- setools-3.3.8/secmds/replcon.cc.orig 2013-01-16 17:36:25.000000000 +0100 +++ setools-3.3.8/secmds/replcon.cc 2015-10-26 18:27:42.035133853 +0100 @@ -60,8 +60,6 @@ {NULL, 0, NULL, 0} }; -extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak)); - /** * As that setools must work with older libselinux versions that may * not have the _raw() functions, declare them as weak. If libselinux @@ -70,14 +68,7 @@ */ static int replcon_lsetfilecon(const char *path, security_context_t context) { - if (lsetfilecon_raw != NULL) - { return lsetfilecon_raw(path, context); - } - else - { - return lsetfilecon(path, context); - } } struct replcon_info