summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-04-14 18:44:24 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-04-14 18:44:24 +0000
commitb8317169d04005378071c629bc8c8897ba112934 (patch)
treed4fadf345b63bf0f0be8c05debd7d2eb17a78823 /funcs
parent006357f6714b6fbc94ae70cd9ded4c3f4b1a914d (diff)
Compatibility fixes for loader changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 56332e970..63c58dff4 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -551,7 +551,7 @@ static int odbc_unload_module(void)
return 0;
}
-int reload(void)
+static int reload(void *mod)
{
int res = 0;
struct ast_config *cfg;
@@ -667,4 +667,4 @@ static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
-STD_MOD(MOD_1, NULL, NULL, NULL);
+STD_MOD(MOD_1, reload, NULL, NULL);