aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_channelredirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_channelredirect.c')
-rw-r--r--apps/app_channelredirect.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_channelredirect.c b/apps/app_channelredirect.c
index 2849768a5..f527b7d38 100644
--- a/apps/app_channelredirect.c
+++ b/apps/app_channelredirect.c
@@ -41,7 +41,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/app.h"
#include "asterisk/features.h"
-static char *tdesc = "Channel Redirect";
static char *app = "ChannelRedirect";
static char *synopsis = "Redirects given channel to a dialplan target.";
static char *descrip =
@@ -139,7 +138,7 @@ int load_module(void)
const char *description(void)
{
- return tdesc;
+ return "Channel Redirect";
}
int usecount(void)
@@ -151,7 +150,7 @@ int usecount(void)
return res;
}
-const char *key()
+const char *key(void)
{
return ASTERISK_GPL_KEY;
}