diff options
Diffstat (limited to 'funcs/func_math.c')
-rw-r--r-- | funcs/func_math.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c index 0928a2da4..3ad32fdac 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -249,27 +249,25 @@ static struct ast_custom_function math_function = { static char *tdesc = "Mathematical dialplan function"; -int unload_module(void) +static int unload_module(void *mod) { return ast_custom_function_unregister(&math_function); } -int load_module(void) +static int load_module(void *mod) { return ast_custom_function_register(&math_function); } -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); + |