mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue