* gdb.base/step-line.exp: Check that GDB can handle filenames that
[deliverable/binutils-gdb.git] / libiberty / strncasecmp.c
index 4485cac7a6a2211727d36c3f3573e916c34fa7ce..77cb421770194f1ac948f15706c1709c82363198 100644 (file)
  * is provided ``as is'' without express or implied warranty.
  */
 
+/*
+  
+@deftypefn Supplemental int strncasecmp (const char *@var{s1}, const char *@var{s2})
+
+A case-insensitive @code{strncmp}.
+
+@end deftypefn
+
+*/
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)strcasecmp.c       5.5 (Berkeley) 11/24/87";
 #endif /* LIBC_SCCS and not lint */
@@ -26,7 +36,7 @@ static char sccsid[] = "@(#)strcasecmp.c      5.5 (Berkeley) 11/24/87";
  * together for a case independent comparison.  The mappings are
  * based upon ascii character sequences.
  */
-static unsigned char charmap[] = {
+static const unsigned char charmap[] = {
        '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
        '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017',
        '\020', '\021', '\022', '\023', '\024', '\025', '\026', '\027',
This page took 0.023405 seconds and 4 git commands to generate.