diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-16 14:27:27 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-16 14:27:27 +0000 |
commit | a99a95b5b832e792957ceba000ad48d461e4202d (patch) | |
tree | 2e65c02545941b600fceffed6dea13500745245d /main/threadstorage.c | |
parent | 47b1b1549731dd863213a8a5a28edc9064c2fd00 (diff) |
Permit building under DEBUG_THREADLOCALS. Thanks snuff.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r-- | main/threadstorage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c index 7de7dad2b..6f483e519 100644 --- a/main/threadstorage.c +++ b/main/threadstorage.c @@ -160,6 +160,7 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int unsigned int count; AST_LIST_ENTRY(file) entry; } *file; + AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file); switch (cmd) { case CLI_INIT: @@ -176,8 +177,6 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int if (a->argc > 4) return CLI_SHOWUSAGE; - AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file); - if (a->argc > 3) fn = a->argv[3]; |