diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 18:05:13 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 18:05:13 +0000 |
commit | e005dbccdff80ceb02ce7cc8576852c80e520e56 (patch) | |
tree | 1e2b07a7aa75eadc062fcad4be36f3355b0610d4 /apps | |
parent | cc6e91422e06fcf597f039d73159505355474ac7 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@29762 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_sql_postgres.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/app_sql_postgres.c b/apps/app_sql_postgres.c index d9ba1bfb7..6f554a677 100644 --- a/apps/app_sql_postgres.c +++ b/apps/app_sql_postgres.c @@ -132,7 +132,7 @@ struct ast_PGSQL_id { AST_LIST_ENTRY(ast_PGSQL_id) entries; } *ast_PGSQL_id; -AST_LIST_HEAD(PGSQLidshead,ast_PGSQL_id) PGSQLidshead; +static AST_LIST_HEAD_STATIC(PGSQLidshead,ast_PGSQL_id); static void *find_identifier(int identifier,int identifier_type) { struct PGSQLidshead *headp; @@ -551,11 +551,6 @@ int unload_module(void) int load_module(void) { - struct PGSQLidshead *headp; - - headp=&PGSQLidshead; - - AST_LIST_HEAD_INIT(headp); return ast_register_application(app, PGSQL_exec, synopsis, descrip); } |