fix prototype for strsep

This commit is contained in:
Rich Felker 2011-04-06 14:28:29 -04:00
parent 6b87e941f9
commit 1fee6186fe
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)