From c9a8ff9bae4be7e3c81f5a9c7fb52c1787de3ad3 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 23 Jan 2012 15:41:12 +0000 Subject: [PATCH] libselinux: Ensure there is a prototype for 'matchpathcon_lib_destructor' Signed-off-by: Eric Paris Acked-by: Dan Walsh --- libselinux/src/matchpathcon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libselinux/src/matchpathcon.c b/libselinux/src/matchpathcon.c index 48f7a11b..804442b1 100644 --- a/libselinux/src/matchpathcon.c +++ b/libselinux/src/matchpathcon.c @@ -292,6 +292,8 @@ static void matchpathcon_thread_destructor(void __attribute__((unused)) *ptr) matchpathcon_fini(); } +void __attribute__((destructor)) matchpathcon_lib_destructor(void); + void __attribute__((destructor)) matchpathcon_lib_destructor(void) { if (destructor_key_initialized)