summaryrefslogtreecommitdiff
path: root/cdr/cdr_csv.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdr/cdr_csv.c')
-rw-r--r--cdr/cdr_csv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c
index 0654bab59..ecf84d768 100644
--- a/cdr/cdr_csv.c
+++ b/cdr/cdr_csv.c
@@ -32,8 +32,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <time.h>
-
#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;