summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-26 19:12:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:47 -0500
commit16fecf78755d5be403e0bbd540d97378c0320ddf (patch)
tree80f3db765be6f7d4bda046f6ae4f42e993634706 /source3
parentb0e29c79e7195790de217d665737257be90b8454 (diff)
downloadsamba-16fecf78755d5be403e0bbd540d97378c0320ddf.tar.gz
samba-16fecf78755d5be403e0bbd540d97378c0320ddf.tar.bz2
samba-16fecf78755d5be403e0bbd540d97378c0320ddf.zip
r18928: Some more const for iniparser.
Guenther (This used to be commit ac3de529b311e818805b2f5a6ab652ab7fa3ee2d)
Diffstat (limited to 'source3')
-rw-r--r--source3/iniparser/src/strlib.c2
-rw-r--r--source3/iniparser/src/strlib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/iniparser/src/strlib.c b/source3/iniparser/src/strlib.c
index 3bfddaaebe..b954a36cf7 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 8d8f15fcf0..39ca26f1df 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);
/*-------------------------------------------------------------------------*/
/**