summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@downhill.at.eu.org>2013-03-19 12:58:32 +0100
committerStef Walter <stefw@gnome.org>2013-03-19 12:58:32 +0100
commit535475c238c427cb685b4282997f7bce0876bfdf (patch)
tree7929a1c7556af2b0e207d0fe676929da5edadc9d /p11-kit
parent1d60d5a6b8c5784b7ac10098c3d9b513094f49a8 (diff)
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.
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/util.c8
1 files changed, 4 insertions, 4 deletions
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 ();
}