projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58004e3
)
You need to put static in front of a static RWLIST declaration to make it really...
author
Joshua Colp
<jcolp@digium.com>
Mon, 23 Jul 2007 23:14:20 +0000
(23:14 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Mon, 23 Jul 2007 23:14:20 +0000
(23:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76711
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_agi.c
patch
|
blob
|
history
diff --git
a/res/res_agi.c
b/res/res_agi.c
index
47c8ba8
..
44ff18d
100644
(file)
--- a/
res/res_agi.c
+++ b/
res/res_agi.c
@@
-1629,7
+1629,7
@@
static struct agi_command commands[MAX_COMMANDS] = {
{ { "wait", "for", "digit", NULL }, handle_waitfordigit, "Waits for a digit to be pressed", usage_waitfordigit , 0 },
};
-AST_RWLIST_HEAD_STATIC(agi_commands, agi_command);
+static AST_RWLIST_HEAD_STATIC(agi_commands, agi_command);
static int help_workhorse(int fd, char *match[])
{
@@
-2169,7
+2169,6
@@
static int unload_module(void)
}
AST_RWLIST_TRAVERSE_SAFE_END
AST_RWLIST_UNLOCK(&agi_commands);
- AST_RWLIST_HEAD_DESTROY(&agi_commands);
ast_unregister_application(eapp);
ast_unregister_application(deadapp);
return ast_unregister_application(app);