diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-04-11 10:01:00 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-04-11 10:01:00 +0000 |
commit | 75073097320886432f1722b8b5a50735ce54e4f6 (patch) | |
tree | c5b08094fbaac20fab7e0a33c5cd97ee4593107f /res/res_config_odbc.c | |
parent | 6b2d947b6207b12c1f023e6ee5c46032040c36f0 (diff) |
normalize code in preparation to module changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_config_odbc.c')
-rw-r--r-- | res/res_config_odbc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index febf839c5..b28059db5 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -48,8 +48,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/res_odbc.h" #include "asterisk/utils.h" -static char *tdesc = "ODBC Configuration"; - LOCAL_USER_DECL; static struct ast_variable *realtime_odbc(const char *database, const char *table, va_list ap) @@ -527,7 +525,8 @@ int load_module (void) const char *description(void) { - return tdesc; + return "ODBC Configuration"; + } int usecount (void) @@ -536,7 +535,7 @@ int usecount (void) return 1; } -const char *key() +const char *key(void) { return ASTERISK_GPL_KEY; } |