mirror of git://git.musl-libc.org/musl
apply feature test protection to memccpy
This commit is contained in:
parent
b8ff2aaabb
commit
73d310e1d2
|
@ -17,7 +17,6 @@ extern "C" {
|
|||
|
||||
void *memcpy (void *, const void *, size_t);
|
||||
void *memmove (void *, const void *, size_t);
|
||||
void *memccpy (void *, const void *, int, size_t);
|
||||
void *memset (void *, int, size_t);
|
||||
int memcmp (const void *, const void *, size_t);
|
||||
void *memchr (const void *, int, size_t);
|
||||
|
@ -59,6 +58,10 @@ char *strdup (const char *);
|
|||
char *strndup (const char *, size_t);
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
|
||||
void *memccpy (void *, const void *, int, size_t);
|
||||
#endif
|
||||
|
||||
#ifdef _BSD_SOURCE
|
||||
size_t strlcat (char *, const char *, size_t);
|
||||
size_t strlcpy (char *, const char *, size_t);
|
||||
|
|
Loading…
Reference in New Issue