summaryrefslogtreecommitdiff
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index 5da638ce0..7445b64a5 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -424,7 +424,7 @@ static struct ast_custom_function keypadhash_function = {
static char *tdesc = "String handling dialplan functions";
-int unload_module(void)
+static int unload_module(void *mod)
{
int res = 0;
@@ -442,7 +442,7 @@ int unload_module(void)
return res;
}
-int load_module(void)
+static int load_module(void *mod)
{
int res = 0;
@@ -460,17 +460,15 @@ 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);