- library initialization done at a central point (library.c)

- some leak_detective fixes
This commit is contained in:
Martin Willi
2006-04-20 11:48:57 +00:00
parent 14abc909e0
commit 6b3292da85
7 changed files with 271 additions and 146 deletions
+2 -2
View File
@@ -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++)