diff options
-rw-r--r-- | apps/app_alarmreceiver.c | 2 | ||||
-rw-r--r-- | apps/app_followme.c | 8 | ||||
-rw-r--r-- | channels/chan_agent.c | 2 |
3 files changed, 6 insertions, 6 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) { diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 7ab6f61b0..148da4266 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -1008,7 +1008,7 @@ static int read_agent_config(void) struct ast_config *cfg; struct ast_variable *v; struct agent_pvt *p; - char *general_val; + const char *general_val; group = 0; autologoff = 0; |