projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3055e0
)
remove useless declarations in string.h
author
Alexander Monakov
<amonakov@ispras.ru>
Mon, 3 Jul 2017 16:24:02 +0000
(19:24 +0300)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 4 Jul 2017 21:04:21 +0000
(17:04 -0400)
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
patch
|
blob
|
history
diff --git
a/include/string.h
b/include/string.h
index ff9badb9c307fc687c18d53c3ed64a64aacdcabd..ce1dc3009e4bfcd0f4006717eb795a46758f9412 100644
(file)
--- 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);