diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-11 10:01:00 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-11 10:01:00 +0000 |
commit | f699b6238345935777e65a62f73cf98dccd6050c (patch) | |
tree | c5b08094fbaac20fab7e0a33c5cd97ee4593107f /res/res_config_pgsql.c | |
parent | a0068b36ea5d697b6d8a04e73680752da4108bd5 (diff) |
normalize code in preparation to module changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19189 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_config_pgsql.c')
-rw-r--r-- | res/res_config_pgsql.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index bcb179102..cf3838654 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -41,8 +41,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" #include "asterisk/cli.h" -static char *res_config_pgsql_desc = "Postgresql RealTime Configuration Driver"; - AST_MUTEX_DEFINE_STATIC(pgsql_lock); #define RES_CONFIG_PGSQL_CONF "res_pgsql.conf" @@ -695,7 +693,8 @@ int parse_config(void) const char *description(void) { - return res_config_pgsql_desc; + return "Postgresql RealTime Configuration Driver"; + } int usecount(void) @@ -709,7 +708,7 @@ int usecount(void) return 0; } -const char *key() +const char *key(void) { return ASTERISK_GPL_KEY; } |