Skip to content
Snippets Groups Projects
Commit c4230bb2 authored by Joshua Colp's avatar Joshua Colp
Browse files

Permit building under DEBUG_THREADLOCALS. Thanks snuff.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3c33254f
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,7 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int ...@@ -160,6 +160,7 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int
unsigned int count; unsigned int count;
AST_LIST_ENTRY(file) entry; AST_LIST_ENTRY(file) entry;
} *file; } *file;
AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file);
switch (cmd) { switch (cmd) {
case CLI_INIT: case CLI_INIT:
...@@ -176,8 +177,6 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int ...@@ -176,8 +177,6 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int
if (a->argc > 4) if (a->argc > 4)
return CLI_SHOWUSAGE; return CLI_SHOWUSAGE;
AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file);
if (a->argc > 3) if (a->argc > 3)
fn = a->argv[3]; fn = a->argv[3];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment