summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-02-03 19:41:59 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-02-03 19:41:59 +0000
commitab1b1855bdfe44c07ab32b469d97dd4c5f872315 (patch)
tree1d70b78592da73656e6934c2e893342f55b9417f /source3/lib
parent30ae26ba426eefef3928e699c46f01eb56f49fa8 (diff)
downloadsamba-ab1b1855bdfe44c07ab32b469d97dd4c5f872315.tar.gz
samba-ab1b1855bdfe44c07ab32b469d97dd4c5f872315.tar.bz2
samba-ab1b1855bdfe44c07ab32b469d97dd4c5f872315.zip
Fixed const definitions for StrCaseXXX calls.
jra@cygnus.com (This used to be commit cbb59639659476054571d4bd18b5df55b0e11a2e)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index dbf8a377bb..e1302857fb 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -796,7 +796,7 @@ char *attrib_string(int mode)
/*******************************************************************
case insensitive string compararison
********************************************************************/
-int StrCaseCmp(char const *s, char const *t)
+int StrCaseCmp(const char *s, const char *t)
{
/* compare until we run out of string, either t or s, or find a difference */
while (*s && *t && tolower(*s) == tolower(*t))
@@ -810,7 +810,7 @@ int StrCaseCmp(char const *s, char const *t)
/*******************************************************************
case insensitive string compararison, length limited
********************************************************************/
-int StrnCaseCmp(char const *s, char const *t, int n)
+int StrnCaseCmp(const char *s, const char *t, int n)
{
/* compare until we run out of string, either t or s, or chars */
while (n-- && *s && *t && tolower(*s) == tolower(*t))