diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:34:30 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:34:30 +0000 |
commit | 82fb56886e20e6ed5e97058e68fb32c88029f060 (patch) | |
tree | fe279b2c51ac4293291cc172302c80d3d642c06f /funcs/func_odbc.c | |
parent | 43792496747f84ee565c35ef6e0262192e0663cb (diff) |
More 'static' qualifiers on module global variables.
The 'pglobal' tool is quite handy indeed :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_odbc.c')
-rw-r--r-- | funcs/func_odbc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index 85fdd09b4..8bb744f62 100644 --- a/funcs/func_odbc.c +++ b/funcs/func_odbc.c @@ -99,10 +99,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") static char *config = "func_odbc.conf"; -enum { +enum odbc_option_flags { OPT_ESCAPECOMMAS = (1 << 0), OPT_MULTIROW = (1 << 1), -} odbc_option_flags; +}; struct acf_odbc_query { AST_RWLIST_ENTRY(acf_odbc_query) list; @@ -118,7 +118,7 @@ struct acf_odbc_query { static void odbc_datastore_free(void *data); -struct ast_datastore_info odbc_info = { +static struct ast_datastore_info odbc_info = { .type = "FUNC_ODBC", .destroy = odbc_datastore_free, }; @@ -135,7 +135,7 @@ struct odbc_datastore { char names[0]; }; -AST_RWLIST_HEAD_STATIC(queries, acf_odbc_query); +static AST_RWLIST_HEAD_STATIC(queries, acf_odbc_query); static int resultcount = 0; |