aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/lib/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/lib/library.c')
-rw-r--r--src/charon/lib/library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/lib/library.c b/src/charon/lib/library.c
index fa9c732bf..6c4d15761 100644
--- a/src/charon/lib/library.c
+++ b/src/charon/lib/library.c
@@ -26,7 +26,7 @@
/**
* Called whenever the library is linked from a process
*/
-void __attribute__ ((constructor)) library_init()
+void __attribute__ ((constructor)) library_init(void)
{
logger_manager_init();
leak_detective_init();
@@ -35,7 +35,7 @@ void __attribute__ ((constructor)) library_init()
/**
* Called whenever the library is unlinked from a process
*/
-void __attribute__ ((destructor)) library_cleanup()
+void __attribute__ ((destructor)) library_cleanup(void)
{
leak_detective_cleanup();
logger_manager_cleanup();