aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 18:44:24 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-14 18:44:24 +0000
commit0d933f8a058fee47c46a03eb4eddae7f73df0519 (patch)
treed4fadf345b63bf0f0be8c05debd7d2eb17a78823 /funcs
parent42900a7e35eb9e279e5893f1dce4588fb4f106e2 (diff)
Compatibility fixes for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
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);