[asterisk-commits] russell: trunk r249011 - /trunk/cdr/cdr_csv.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 26 02:07:13 CST 2010


Author: russell
Date: Fri Feb 26 02:07:09 2010
New Revision: 249011

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=249011
Log:
constification, remove include

Modified:
    trunk/cdr/cdr_csv.c

Modified: trunk/cdr/cdr_csv.c
URL: http://svnview.digium.com/svn/asterisk/trunk/cdr/cdr_csv.c?view=diff&rev=249011&r1=249010&r2=249011
==============================================================================
--- trunk/cdr/cdr_csv.c (original)
+++ trunk/cdr/cdr_csv.c Fri Feb 26 02:07:09 2010
@@ -31,8 +31,6 @@
 #include "asterisk.h"
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <time.h>
 
 #include "asterisk/paths.h"	/* use ast_config_AST_LOG_DIR */
 #include "asterisk/config.h"
@@ -133,7 +131,7 @@
 	return 1;
 }
 
-static int append_string(char *buf, char *s, size_t bufsize)
+static int append_string(char *buf, const char *s, size_t bufsize)
 {
 	int pos = strlen(buf), spos = 0, error = -1;
 




More information about the asterisk-commits mailing list