[asterisk-commits] branch north/chan_skinny-fixup r34347 - /team/north/chan_skinny-fixup/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 15 16:39:42 MST 2006


Author: north
Date: Thu Jun 15 18:39:41 2006
New Revision: 34347

URL: http://svn.digium.com/view/asterisk?rev=34347&view=rev
Log:
a little constification

Modified:
    team/north/chan_skinny-fixup/channels/chan_skinny.c

Modified: team/north/chan_skinny-fixup/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/north/chan_skinny-fixup/channels/chan_skinny.c?rev=34347&r1=34346&r2=34347&view=diff
==============================================================================
--- team/north/chan_skinny-fixup/channels/chan_skinny.c (original)
+++ team/north/chan_skinny-fixup/channels/chan_skinny.c Thu Jun 15 18:39:41 2006
@@ -1346,7 +1346,7 @@
 	}
 }
 
-static void transmit_callinfo(struct skinnysession *s, char *fromname, char *fromnum, char *toname, char *tonum, int instance, int callid, int calltype)
+static void transmit_callinfo(struct skinnysession *s, const char *fromname, const char *fromnum, const char *toname, const char *tonum, int instance, int callid, int calltype)
 {
 	skinny_req *req;
 
@@ -1463,7 +1463,7 @@
 	transmit_response(s, req);
 }
 
-static void transmit_displaymessage(struct skinnysession *s, char *text)
+static void transmit_displaymessage(struct skinnysession *s, const char *text)
 {
 	skinny_req *req;
 
@@ -1485,7 +1485,7 @@
 	transmit_response(s, req);
 }
 
-static void transmit_displaynotify(struct skinnysession *s, char *text, int t)
+static void transmit_displaynotify(struct skinnysession *s, const char *text, int t)
 {
 	skinny_req *req;
 
@@ -1501,7 +1501,7 @@
 	transmit_response(s, req);
 }
 
-static void transmit_displaypromptstatus(struct skinnysession *s, char *text, int t, int instance, int callid)
+static void transmit_displaypromptstatus(struct skinnysession *s, const char *text, int t, int instance, int callid)
 {
 	skinny_req *req;
 
@@ -1519,7 +1519,7 @@
 	transmit_response(s, req);
 }
 
-static void transmit_dialednumber(struct skinnysession *s, char *text, int instance, int callid)
+static void transmit_dialednumber(struct skinnysession *s, const char *text, int instance, int callid)
 {
 	skinny_req *req;
 
@@ -1776,13 +1776,13 @@
 	{ { "skinny", "reset", NULL }, skinny_reset_device, "Reset Skinny device(s)", reset_usage, complete_skinny_reset };
 
 #if 0
-static struct skinny_paging_device *build_paging_device(char *cat, struct ast_variable *v)
+static struct skinny_paging_device *build_paging_device(const char *cat, struct ast_variable *v)
 {
 	return NULL;
 }
 #endif
 
-static struct skinny_device *build_device(char *cat, struct ast_variable *v)
+static struct skinny_device *build_device(const char *cat, struct ast_variable *v)
 {
 	struct skinny_device *d;
 	struct skinny_line *l;



More information about the asterisk-commits mailing list