[Asterisk-cvs] asterisk/apps app_chanspy.c,1.14,1.15

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Apr 21 01:39:43 CDT 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv7113/apps

Modified Files:
	app_chanspy.c 
Log Message:
fix various compiler warnings


Index: app_chanspy.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_chanspy.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- app_chanspy.c	21 Apr 2005 06:02:43 -0000	1.14
+++ app_chanspy.c	21 Apr 2005 06:30:23 -0000	1.15
@@ -104,7 +104,6 @@
 };
 
 /* Prototypes */
-static struct ast_channel *local_get_channel_by_name(char *name);
 static struct ast_channel *local_get_channel_begin_name(char *name);
 static struct ast_channel *local_channel_walk(struct ast_channel *chan);
 static void spy_release(struct ast_channel *chan, void *data);
@@ -118,6 +117,7 @@
 static int chanspy_exec(struct ast_channel *chan, void *data);
 
 
+#if 0
 static struct ast_channel *local_get_channel_by_name(char *name) 
 {
 	struct ast_channel *ret;
@@ -129,6 +129,7 @@
 
 	return ret;
 }
+#endif
 
 static struct ast_channel *local_channel_walk(struct ast_channel *chan) 
 {




More information about the svn-commits mailing list