From 16fecf78755d5be403e0bbd540d97378c0320ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 26 Sep 2006 19:12:39 +0000 Subject: [PATCH] r18928: Some more const for iniparser. Guenther (This used to be commit ac3de529b311e818805b2f5a6ab652ab7fa3ee2d) --- source3/iniparser/src/strlib.c | 2 +- source3/iniparser/src/strlib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/iniparser/src/strlib.c b/source3/iniparser/src/strlib.c index 3bfddaaebe2..b954a36cf79 100644 --- a/source3/iniparser/src/strlib.c +++ b/source3/iniparser/src/strlib.c @@ -51,7 +51,7 @@ */ /*--------------------------------------------------------------------------*/ -char * strlwc(char * s) +char * strlwc(const char * s) { static char l[ASCIILINESZ+1]; int i ; diff --git a/source3/iniparser/src/strlib.h b/source3/iniparser/src/strlib.h index 8d8f15fcf0a..39ca26f1df0 100644 --- a/source3/iniparser/src/strlib.h +++ b/source3/iniparser/src/strlib.h @@ -45,7 +45,7 @@ allocated, it will be modified at each function call (not re-entrant). */ /*--------------------------------------------------------------------------*/ -char * strlwc(char * s); +char * strlwc(const char * s); /*-------------------------------------------------------------------------*/ /**