dect
/
asterisk
Archived
13
0
Fork 0

A few misses from constification

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43366 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2006-09-20 20:57:57 +00:00
parent dd2e58793c
commit e6c97b2462
3 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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) {

View File

@ -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;