summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:57:57 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:57:57 +0000
commitd70fe791c2e951b5421f95373957474c20406d2f (patch)
treeb9f01bc07d86c9007b8e130503c985148530031b /apps
parent8c16600b0d4991fa74bf1be1bc2083eef802fcd6 (diff)
A few misses from constification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_alarmreceiver.c2
-rw-r--r--apps/app_followme.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_alarmreceiver.c b/apps/app_alarmreceiver.c
index 41f715e8e..d2741df93 100644
--- a/apps/app_alarmreceiver.c
+++ b/apps/app_alarmreceiver.c
@@ -733,7 +733,7 @@ static int alarmreceiver_exec(struct ast_channel *chan, void *data)
static int load_config(void)
{
struct ast_config *cfg;
- char *p;
+ const char *p;
/* Read in the config file */
diff --git a/apps/app_followme.c b/apps/app_followme.c
index bde537018..0ee3abc3a 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -149,7 +149,7 @@ AST_APP_OPTIONS(followme_opts, {
static int ynlongest = 0;
static time_t start_time, answer_time, end_time;
-static char *featuredigittostr;
+static const char *featuredigittostr;
static int featuredigittimeout = 5000; /*!< Feature Digit Timeout */
static const char *defaultmoh = "default"; /*!< Default Music-On-Hold Class */
@@ -288,9 +288,9 @@ static int reload_followme(void)
int timeout;
char *timeoutstr;
int numorder;
- char *takecallstr;
- char *declinecallstr;
- char *tmpstr;
+ const char *takecallstr;
+ const char *declinecallstr;
+ const char *tmpstr;
cfg = ast_config_load("followme.conf");
if (!cfg) {