提交 1fee6186 编写于 作者: R Rich Felker

fix prototype for strsep

上级 6b87e941
...@@ -73,7 +73,7 @@ int strcasecmp (const char *, const char *); ...@@ -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
......
#define _GNU_SOURCE
#include <string.h> #include <string.h>
char *strsep(char **str, const char *sep) char *strsep(char **str, const char *sep)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册