From a5323c57686340d3a8a6b0d6b3e6faab2a22ce8d Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 30 Mar 2011 14:14:26 -0400 Subject: add some missing prototypes for nonstandard functions (strsep, clearenv) --- include/stdlib.h | 1 + include/string.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/stdlib.h b/include/stdlib.h index 047a5f3f..27784c61 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -124,6 +124,7 @@ void lcong48 (unsigned short [7]); char *mktemp (char *); void *valloc (size_t); void *memalign(size_t, size_t); +int clearenv(void); #endif diff --git a/include/string.h b/include/string.h index 00c8e8ff..bd195e3f 100644 --- a/include/string.h +++ b/include/string.h @@ -73,6 +73,7 @@ int strcasecmp (const char *, const char *); int strncasecmp (const char *, const char *, size_t); char *strchrnul(const char *, int); char *strcasestr(const char *, const char *); +char *strsep(char **, char *); #endif #ifdef __cplusplus -- cgit v1.2.1