From: Alexander Monakov Date: Mon, 3 Jul 2017 16:24:02 +0000 (+0300) Subject: remove useless declarations in string.h X-Git-Tag: v1.1.17~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd00cc87819875882356298b6c6bdabc1700753f;p=oweals%2Fmusl.git remove useless declarations in string.h The two functions str{,n}casecmp_l are specified to be declared in which is already included from under _GNU_SOURCE. --- diff --git a/include/string.h b/include/string.h index ff9badb9..ce1dc300 100644 --- a/include/string.h +++ b/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);