-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9x14EACgkQrlYvE4MpobMxNgCgrf6krrgdajK2cyt8vxwngPTY s0EAn3DcD3Gm8kaM58vb3hipijzqkjrM =0K4T -----END PGP SIGNATURE-----
>From a5d6cd67818161042e666dbd860aca2fb5e75833 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> Date: Mon, 23 Jan 2012 15:41:12 +0000 Subject: [PATCH 19/73] libselinux: Ensure there is a prototype for 'matchpathcon_lib_destructor' Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- libselinux/src/matchpathcon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libselinux/src/matchpathcon.c b/libselinux/src/matchpathcon.c index c625f55..ca87bd2 100644 --- a/libselinux/src/matchpathcon.c +++ b/libselinux/src/matchpathcon.c @@ -293,6 +293,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) -- 1.7.9.3