aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_realtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_realtime.c')
-rw-r--r--apps/app_realtime.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/apps/app_realtime.c b/apps/app_realtime.c
index 9cce38ca7..dacc6c328 100644
--- a/apps/app_realtime.c
+++ b/apps/app_realtime.c
@@ -232,7 +232,7 @@ static int realtime_exec(struct ast_channel *chan, void *data)
return res;
}
-int unload_module(void)
+static int unload_module(void *mod)
{
int res;
@@ -246,7 +246,7 @@ int unload_module(void)
return res;
}
-int load_module(void)
+static int load_module(void *mod)
{
int res;
@@ -258,20 +258,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;