mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-02-21 11:50:43 +00:00
libselinux: Add prototype decl for destructor
Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
435fae64a9
commit
da5e7e3b81
@ -253,6 +253,8 @@ static void setrans_thread_destructor(void __attribute__((unused)) *unused)
|
||||
free(prev_r2c_raw);
|
||||
}
|
||||
|
||||
void __attribute__((destructor)) setrans_lib_destructor(void);
|
||||
|
||||
void __attribute__((destructor)) setrans_lib_destructor(void)
|
||||
{
|
||||
if (destructor_key_initialized)
|
||||
|
Loading…
x
Reference in New Issue
Block a user