aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ices.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_ices.c')
-rw-r--r--apps/app_ices.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/apps/app_ices.c b/apps/app_ices.c
index ae48cbb67..3a8130ab6 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -50,8 +50,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define ICES "/usr/bin/ices"
#define LOCAL_ICES "/usr/local/bin/ices"
-static char *tdesc = "Encode and Stream via icecast and ices";
-
static char *app = "ICES";
static char *synopsis = "Encode and stream using 'ices'";
@@ -191,7 +189,7 @@ static int ices_exec(struct ast_channel *chan, void *data)
return res;
}
-int unload_module(void)
+static int unload_module(void *mod)
{
int res;
@@ -202,24 +200,19 @@ int unload_module(void)
return res;
}
-int load_module(void)
+static int load_module(void *mod)
{
return ast_register_application(app, ices_exec, synopsis, descrip);
}
-const char *description(void)
+static const char *description(void)
{
- return tdesc;
+ return "Encode and Stream via icecast and ices";
}
-int usecount(void)
-{
- int res;
- STANDARD_USECOUNT(res);
- return res;
-}
-
-const char *key()
+static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
+
+STD_MOD1;