aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/lib/library.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-09 07:34:25 +0000
committerMartin Willi <martin@strongswan.org>2006-05-09 07:34:25 +0000
commitf768bdc3f3868669b7a5cd22ddec7e199be663a8 (patch)
treef602bc4f6fb7f148cff53e4000ba84af93367285 /src/charon/lib/library.c
parent24953b5e1806c95e0809708942461753b5149c29 (diff)
downloadstrongswan-f768bdc3f3868669b7a5cd22ddec7e199be663a8.tar.bz2
strongswan-f768bdc3f3868669b7a5cd22ddec7e199be663a8.tar.xz
- applied some -W's from strongswan
- fixed that warnings
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();