aboutsummaryrefslogtreecommitdiffstats
path: root/main/threadstorage.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-20 22:18:21 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-20 22:18:21 +0000
commit8d3385f5344604e2e8f31eee7bf565e88778500b (patch)
treeaf054294a844611a54aa36bfacfb7377d8074695 /main/threadstorage.c
parente616a7a4e2434fe360530b21af62ea44c3700318 (diff)
move internal function declarations to include/asterisk/_private.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89465 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r--main/threadstorage.c15
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) */