mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 04:05:05 +00:00
fix prototype for strsep
This commit is contained in:
parent
6b87e941f9
commit
1fee6186fe
@ -73,7 +73,7 @@ int strcasecmp (const char *, const char *);
|
|||||||
int strncasecmp (const char *, const char *, size_t);
|
int strncasecmp (const char *, const char *, size_t);
|
||||||
char *strchrnul(const char *, int);
|
char *strchrnul(const char *, int);
|
||||||
char *strcasestr(const char *, const char *);
|
char *strcasestr(const char *, const char *);
|
||||||
char *strsep(char **, char *);
|
char *strsep(char **, const char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#define _GNU_SOURCE
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
char *strsep(char **str, const char *sep)
|
char *strsep(char **str, const char *sep)
|
||||||
|
Loading…
Reference in New Issue
Block a user