svn commit: samba r18928 - in branches/SAMBA_3_0/source/iniparser/src: .

gd at samba.org gd at samba.org
Tue Sep 26 19:12:39 GMT 2006


Author: gd
Date: 2006-09-26 19:12:39 +0000 (Tue, 26 Sep 2006)
New Revision: 18928

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18928

Log:
Some more const for iniparser.

Guenther

Modified:
   branches/SAMBA_3_0/source/iniparser/src/strlib.c
   branches/SAMBA_3_0/source/iniparser/src/strlib.h


Changeset:
Modified: branches/SAMBA_3_0/source/iniparser/src/strlib.c
===================================================================
--- branches/SAMBA_3_0/source/iniparser/src/strlib.c	2006-09-26 18:31:47 UTC (rev 18927)
+++ branches/SAMBA_3_0/source/iniparser/src/strlib.c	2006-09-26 19:12:39 UTC (rev 18928)
@@ -51,7 +51,7 @@
  */
 /*--------------------------------------------------------------------------*/
 
-char * strlwc(char * s)
+char * strlwc(const char * s)
 {
     static char l[ASCIILINESZ+1];
     int i ;

Modified: branches/SAMBA_3_0/source/iniparser/src/strlib.h
===================================================================
--- branches/SAMBA_3_0/source/iniparser/src/strlib.h	2006-09-26 18:31:47 UTC (rev 18927)
+++ branches/SAMBA_3_0/source/iniparser/src/strlib.h	2006-09-26 19:12:39 UTC (rev 18928)
@@ -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);
 
 /*-------------------------------------------------------------------------*/
 /**



More information about the samba-cvs mailing list