Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/strncasecmp.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1111 */
    1212
     13/*
     14 
     15@deftypefn Supplemental int strncasecmp (const char *@var{s1}, const char *@var{s2})
     16
     17A case-insensitive @code{strncmp}.
     18
     19@end deftypefn
     20
     21*/
     22
    1323#if defined(LIBC_SCCS) && !defined(lint)
    1424static char sccsid[] = "@(#)strcasecmp.c        5.5 (Berkeley) 11/24/87";
     
    1626
    1727#include <ansidecl.h>
    18 #ifdef __STDC__
     28#ifdef ANSI_PROTOTYPES
    1929#include <stddef.h>
    2030#else
     
    2737 * based upon ascii character sequences.
    2838 */
    29 static unsigned char charmap[] = {
     39static const unsigned char charmap[] = {
    3040        '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
    3141        '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017',
Note: See TracChangeset for help on using the changeset viewer.