Explorar o código

remove useless declarations in string.h

The two functions str{,n}casecmp_l are specified to be declared in
<strings.h> which is already included from <string.h> under _GNU_SOURCE.
Alexander Monakov %!s(int64=7) %!d(string=hai) anos
pai
achega
bd00cc8781
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      include/string.h

+ 0 - 2
include/string.h

@@ -87,8 +87,6 @@ size_t strlcpy (char *, const char *, size_t);
 #ifdef _GNU_SOURCE
 #define	strdupa(x)	strcpy(alloca(strlen(x)+1),x)
 int strverscmp (const char *, const char *);
-int strcasecmp_l (const char *, const char *, locale_t);
-int strncasecmp_l (const char *, const char *, size_t, locale_t);
 char *strchrnul(const char *, int);
 char *strcasestr(const char *, const char *);
 void *memmem(const void *, size_t, const void *, size_t);