[PATCH 23/73] libselinux: Add prototype decl for destructor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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/

iEYEARECAAYFAk9x1+oACgkQrlYvE4MpobNDvgCfRuKOLCBFkNHDVueX63cEbSXY
6/0AoInH/n5e4A2oxGaVWErr0hPuP198
=4fV8
-----END PGP SIGNATURE-----
>From ea1ff25fd51d8ddfd608425e1bbdb5bf05b42b3f Mon Sep 17 00:00:00 2001
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Mon, 23 Jan 2012 15:41:16 +0000
Subject: [PATCH 23/73] libselinux: Add prototype decl for destructor

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 libselinux/src/setrans_client.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libselinux/src/setrans_client.c b/libselinux/src/setrans_client.c
index e074142..9432f49 100644
--- a/libselinux/src/setrans_client.c
+++ b/libselinux/src/setrans_client.c
@@ -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)
-- 
1.7.9.3


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux