aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_channelredirect.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 15:19:34 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 15:19:34 +0000
commit80782b1b458a7838498f75f00fb6433220d555bb (patch)
treea377a2fb9ebfa83703c632dd910f13c81d6ca01f /apps/app_channelredirect.c
parent925620eda55a80810e8b8041bc674a2ff990c43b (diff)
normalize code preparing for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19220 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}