mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] remove useless declarations in string.h
@ 2017-07-03 16:24 Alexander Monakov
  0 siblings, 0 replies; only message in thread
From: Alexander Monakov @ 2017-07-03 16:24 UTC (permalink / raw)
  To: musl

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.
---
 include/string.h | 2 --
 1 file changed, 2 deletions(-)

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);
-- 
2.11.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-03 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 16:24 [PATCH] remove useless declarations in string.h Alexander Monakov

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).