From 82fb56886e20e6ed5e97058e68fb32c88029f060 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 15 Jun 2009 17:34:30 +0000 Subject: 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 --- funcs/func_odbc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'funcs/func_odbc.c') 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; -- cgit v1.2.3