diff options
author | Clément Vasseur <clement.vasseur@gmail.com> | 2014-08-07 17:49:24 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-08-08 00:45:42 -0400 |
commit | b1ae7b78bd57c60451e56c4abf738c69245b2b0e (patch) | |
tree | 9d398de2c29730c256719f8f4b0463820e9c1669 /include | |
parent | 0a24be213addfb32a8fdfc880fc2649f27d0b9ce (diff) | |
download | musl-b1ae7b78bd57c60451e56c4abf738c69245b2b0e.tar.gz musl-b1ae7b78bd57c60451e56c4abf738c69245b2b0e.tar.xz musl-b1ae7b78bd57c60451e56c4abf738c69245b2b0e.zip |
make clearenv available with _BSD_SOURCE
glibc declares clearenv under _BSD_SOURCE, some applications might depend on it being available this way.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index f034c6e5..db569d97 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -144,12 +144,12 @@ int mkostemps (char *, int, int); void *valloc (size_t); void *memalign(size_t, size_t); int getloadavg(double *, int); +int clearenv(void); #define WCOREDUMP(s) ((s) & 0x80) #define WIFCONTINUED(s) ((s) == 0xffff) #endif #ifdef _GNU_SOURCE -int clearenv(void); int ptsname_r(int, char *, size_t); char *ecvt(double, int, int *, int *); char *fcvt(double, int, int *, int *); |