From 535475c238c427cb685b4282997f7bce0876bfdf Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Tue, 19 Mar 2013 12:58:32 +0100 Subject: Do not export (de)constructor Rename p11_kit_init and p11_kit_fini to _p11_kit_init and _p11_kit_fini respectively to stop them from being exported in the ABI. It does not seem to be necessary. --- p11-kit/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'p11-kit') diff --git a/p11-kit/util.c b/p11-kit/util.c index a7b3c25..62aa7d2 100644 --- a/p11-kit/util.c +++ b/p11-kit/util.c @@ -234,15 +234,15 @@ _p11_get_progname_unlocked (void) #ifdef OS_UNIX -void p11_kit_init (void); +void _p11_kit_init (void); -void p11_kit_fini (void); +void _p11_kit_fini (void); #ifdef __GNUC__ __attribute__((constructor)) #endif void -p11_kit_init (void) +_p11_kit_init (void) { p11_library_init_once (); } @@ -251,7 +251,7 @@ p11_kit_init (void) __attribute__((destructor)) #endif void -p11_kit_fini (void) +_p11_kit_fini (void) { p11_library_uninit (); } -- cgit v1.1