瀏覽代碼

add some missing prototypes for nonstandard functions (strsep, clearenv)

Rich Felker 14 年之前
父節點
當前提交
a5323c5768
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      include/stdlib.h
  2. 1 0
      include/string.h

+ 1 - 0
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
 
 

+ 1 - 0
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