aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_while.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_while.c')
-rw-r--r--apps/app_while.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/apps/app_while.c b/apps/app_while.c
index b3b520fb3..075a5276a 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -325,7 +325,7 @@ static int while_end_exec(struct ast_channel *chan, void *data) {
}
-int unload_module(void)
+static int unload_module(void *mod)
{
int res;
@@ -338,7 +338,7 @@ int unload_module(void)
return res;
}
-int load_module(void)
+static int load_module(void *mod)
{
int res;
@@ -349,20 +349,14 @@ int load_module(void)
return res;
}
-const char *description(void)
+static const char *description(void)
{
return tdesc;
}
-int usecount(void)
-{
- int res;
- STANDARD_USECOUNT(res);
- return res;
-}
-
-const char *key()
+static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
+STD_MOD1;