libselinux: Ensure there is a prototype for 'matchpathcon_lib_destructor'

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel P. Berrange 2012-01-23 15:41:12 +00:00 committed by Eric Paris
parent bcdf92aac4
commit c9a8ff9bae

View File

@ -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)