diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-20 11:48:57 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-20 11:48:57 +0000 |
commit | 6b3292da8570edaab0e8e7dd5b2babe0fe983dd2 (patch) | |
tree | eb59a78b042c6337093a6f30d8d0b8b58f0adb13 /Source/lib/utils/logger_manager.c | |
parent | 14abc909e085b39b936b26fa79f1511ccf0c3457 (diff) | |
download | strongswan-6b3292da8570edaab0e8e7dd5b2babe0fe983dd2.tar.bz2 strongswan-6b3292da8570edaab0e8e7dd5b2babe0fe983dd2.tar.xz |
- library initialization done at a central point (library.c)
- some leak_detective fixes
Diffstat (limited to 'Source/lib/utils/logger_manager.c')
-rw-r--r-- | Source/lib/utils/logger_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/lib/utils/logger_manager.c b/Source/lib/utils/logger_manager.c index de92d0aca..ecbe1a6c1 100644 --- a/Source/lib/utils/logger_manager.c +++ b/Source/lib/utils/logger_manager.c @@ -187,7 +187,7 @@ static void set_output(private_logger_manager_t *this, logger_context_t context, /** * Creates the instance of the logger manager at library startup */ -void __attribute__ ((constructor)) logger_manager_create() +void logger_manager_init() { int i; @@ -210,7 +210,7 @@ void __attribute__ ((constructor)) logger_manager_create() /** * Destroy the logger manager at library exit */ -void __attribute__ ((destructor)) logger_manager_destroy() +void logger_manager_cleanup() { int i; for (i = 0; i < LOGGER_CONTEXT_ROOF; i++) |