Changes in / [723560f:3f4c897d] in mainline


Ignore:
Location:
uspace/lib/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/string.h

    r723560f r3f4c897d  
    105105#ifndef POSIX_STRINGS_H_
    106106extern int posix_ffs(int i);
     107extern int posix_strcasecmp(const char *s1, const char *s2);
     108extern int posix_strncasecmp(const char *s1, const char *s2, size_t n);
    107109#endif
    108110
     
    140142
    141143        #define ffs posix_ffs
     144        #define strcasecmp posix_strcasecmp
     145        #define strncasecmp posix_strncasecmp
    142146#endif
    143147
  • uspace/lib/posix/strings.h

    r723560f r3f4c897d  
    4343
    4444/* String/Array Comparison */
     45#ifndef POSIX_STRING_H_
    4546extern int posix_strcasecmp(const char *s1, const char *s2);
    4647extern int posix_strncasecmp(const char *s1, const char *s2, size_t n);
     48#endif
    4749
    4850/* TODO: not implemented due to missing locale.h
Note: See TracChangeset for help on using the changeset viewer.