diff options
Diffstat (limited to 'funcs/func_db.c')
-rw-r--r-- | funcs/func_db.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/funcs/func_db.c b/funcs/func_db.c index 492389e58..f7439302b 100644 --- a/funcs/func_db.c +++ b/funcs/func_db.c @@ -161,7 +161,7 @@ static struct ast_custom_function db_exists_function = { static char *tdesc = "Database (astdb) related dialplan functions"; -int unload_module(void) +static int unload_module(void *mod) { int res = 0; @@ -171,7 +171,7 @@ int unload_module(void) return res; } -int load_module(void) +static int load_module(void *mod) { int res = 0; @@ -181,17 +181,14 @@ int load_module(void) return res; } -const char *description(void) +static const char *description(void) { return tdesc; } -int usecount(void) -{ - return 0; -} - -const char *key() +static const char *key(void) { return ASTERISK_GPL_KEY; } + +STD_MOD(MOD_1 | NO_USECOUNT, NULL, NULL, NULL); |