[asterisk-commits] tilghman: trunk r43366 - in /trunk: apps/ channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 20 13:57:58 MST 2006


Author: tilghman
Date: Wed Sep 20 15:57:57 2006
New Revision: 43366

URL: http://svn.digium.com/view/asterisk?rev=43366&view=rev
Log:
A few misses from constification

Modified:
    trunk/apps/app_alarmreceiver.c
    trunk/apps/app_followme.c
    trunk/channels/chan_agent.c

Modified: trunk/apps/app_alarmreceiver.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_alarmreceiver.c?rev=43366&r1=43365&r2=43366&view=diff
==============================================================================
--- trunk/apps/app_alarmreceiver.c (original)
+++ trunk/apps/app_alarmreceiver.c Wed Sep 20 15:57:57 2006
@@ -733,7 +733,7 @@
 static int load_config(void)
 {
 	struct ast_config *cfg;
-	char *p;
+	const char *p;
 
 	/* Read in the config file */
 

Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?rev=43366&r1=43365&r2=43366&view=diff
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Wed Sep 20 15:57:57 2006
@@ -149,7 +149,7 @@
 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 @@
 	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) {

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=43366&r1=43365&r2=43366&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Wed Sep 20 15:57:57 2006
@@ -1008,7 +1008,7 @@
 	struct ast_config *cfg;
 	struct ast_variable *v;
 	struct agent_pvt *p;
-	char *general_val;
+	const char *general_val;
 
 	group = 0;
 	autologoff = 0;



More information about the asterisk-commits mailing list