From: Russell Bryant Date: Fri, 26 Feb 2010 08:07:09 +0000 (+0000) Subject: constification, remove include X-Git-Tag: 11.0.0-beta1~3381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=022e262d719c3cf195dab9210cc97958f4615832;p=thirdparty%2Fasterisk.git constification, remove include git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249011 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c index 0654bab592..ecf84d7685 100644 --- a/cdr/cdr_csv.c +++ b/cdr/cdr_csv.c @@ -32,8 +32,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#include - #include "asterisk/paths.h" /* use ast_config_AST_LOG_DIR */ #include "asterisk/config.h" #include "asterisk/channel.h" @@ -133,7 +131,7 @@ static int load_config(int reload) 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;