diff options
Diffstat (limited to 'funcs/func_uri.c')
-rw-r--r-- | funcs/func_uri.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/funcs/func_uri.c b/funcs/func_uri.c index e39ee6001..dbef5608d 100644 --- a/funcs/func_uri.c +++ b/funcs/func_uri.c @@ -88,29 +88,25 @@ static struct ast_custom_function urlencode_function = { static char *tdesc = "URI encode/decode dialplan functions"; -int unload_module(void) +static int unload_module(void *mod) { return ast_custom_function_unregister(&urldecode_function) || ast_custom_function_unregister(&urlencode_function); } -int load_module(void) +static int load_module(void *mod) { return ast_custom_function_register(&urldecode_function) || ast_custom_function_register(&urlencode_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); |