diff options
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r-- | main/threadstorage.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c index 5a6f4b3e8..35d3eca55 100644 --- a/main/threadstorage.c +++ b/main/threadstorage.c @@ -24,8 +24,15 @@ */ #include "asterisk.h" +#include "asterisk/_private.h" -#if defined(DEBUG_THREADLOCALS) +#if !defined(DEBUG_THREADLOCALS) + +void threadstorage_init(void) +{ +} + +#else /* !defined(DEBUG_THREADLOCALS) */ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") @@ -226,11 +233,5 @@ void threadstorage_init(void) ast_cli_register_multiple(cli, sizeof(cli) / sizeof(cli[0])); } -#else /* !defined(DEBUG_THREADLOCALS) */ - -void threadstorage_init(void) -{ -} - #endif /* !defined(DEBUG_THREADLOCALS) */ |