[Asterisk-cvs] asterisk/formats format_pcm_alaw.c,1.8,1.9

markster at lists.digium.com markster at lists.digium.com
Wed Jan 28 15:14:00 CST 2004


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

Modified Files:
	format_pcm_alaw.c 
Log Message:
Elminate unused code/warnings (bug #934)


Index: format_pcm_alaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_pcm_alaw.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- format_pcm_alaw.c	8 Sep 2003 16:48:07 -0000	1.8
+++ format_pcm_alaw.c	28 Jan 2004 21:06:03 -0000	1.9
@@ -62,6 +62,7 @@
 static char *exts = "alaw|al";
 
 
+#if 0
 /* Returns time in msec since system boot. */
 static unsigned long get_time(void)
 {
@@ -76,6 +77,7 @@
 	}
 	return cur * 1000 / sysconf( _SC_CLK_TCK );
 }
+#endif
 
 static struct ast_filestream *pcm_open(int fd)
 {




More information about the svn-commits mailing list