diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-20 22:18:21 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-20 22:18:21 +0000 |
commit | 915b97d300c76c35b3fe480bd9a497f435297191 (patch) | |
tree | af054294a844611a54aa36bfacfb7377d8074695 /main/threadstorage.c | |
parent | 2626c511da1185dae8da6eaa3fc0d36a3917aa98 (diff) |
move internal function declarations to include/asterisk/_private.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) */ |