diff options
Diffstat (limited to 'funcs/func_env.c')
-rw-r--r-- | funcs/func_env.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/funcs/func_env.c b/funcs/func_env.c index 4d8564803..d89927775 100644 --- a/funcs/func_env.c +++ b/funcs/func_env.c @@ -138,7 +138,7 @@ static struct ast_custom_function stat_function = { static char *tdesc = "Environment/filesystem dialplan functions"; -int unload_module(void) +static int unload_module(void *mod) { int res = 0; @@ -148,7 +148,7 @@ int unload_module(void) return res; } -int load_module(void) +static int load_module(void *mod) { int res = 0; @@ -158,17 +158,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); |