diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 22:14:33 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 22:14:33 +0000 |
commit | adca0ff14bbecf8e65aec48956ce28690debdeaf (patch) | |
tree | e9add4fc02f476def2f55761228016937b1df512 /main/pbx.c | |
parent | d7b0ec86468d98bf143b320b89d3fbe206e4ba54 (diff) |
Merged revisions 49006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines
since these variables all have static duration, none of them need initializers (they default to zero anyway)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/pbx.c b/main/pbx.c index 736bd9432..946395304 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -246,7 +246,7 @@ static struct varshead globals = AST_LIST_HEAD_NOLOCK_INIT_VALUE; static int autofallthrough = 1; AST_MUTEX_DEFINE_STATIC(maxcalllock); -static int countcalls = 0; +static int countcalls; static AST_RWLIST_HEAD_STATIC(acf_root, ast_custom_function); @@ -460,7 +460,7 @@ static struct pbx_builtin { }; -static struct ast_context *contexts = NULL; +static struct ast_context *contexts; AST_MUTEX_DEFINE_STATIC(conlock); /*!< Lock for the ast_context list */ static AST_RWLIST_HEAD_STATIC(apps, ast_app); @@ -475,14 +475,14 @@ static int stateid = 1; paths that require both locks must also take them in that order. */ static AST_RWLIST_HEAD_STATIC(hints, ast_hint); -struct ast_state_cb *statecbs = NULL; +struct ast_state_cb *statecbs; /* \note This function is special. It saves the stack so that no matter how many times it is called, it returns to the same place */ int pbx_exec(struct ast_channel *c, /*!< Channel */ - struct ast_app *app, /*!< Application */ - void *data) /*!< Data for execution */ + struct ast_app *app, /*!< Application */ + void *data) /*!< Data for execution */ { int res; |