mirror of
git://git.musl-libc.org/musl
synced 2025-02-28 08:40:25 +00:00
make clearenv available with _BSD_SOURCE
glibc declares clearenv under _BSD_SOURCE, some applications might depend on it being available this way.
This commit is contained in:
parent
0a24be213a
commit
b1ae7b78bd
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user