mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 20:55:28 +08:00
Remove setenv() declaration (conficts <stdlib.h>)
This commit is contained in:
parent
40f2158a15
commit
6cdf009465
@ -277,7 +277,9 @@ int getenv_long(const char *name, long *data);
|
|||||||
int getenv_ulong(const char *name, unsigned long *data);
|
int getenv_ulong(const char *name, unsigned long *data);
|
||||||
int getenv_string(const char *name, char *data, int size);
|
int getenv_string(const char *name, char *data, int size);
|
||||||
int getenv_quad(const char *name, quad_t *data);
|
int getenv_quad(const char *name, quad_t *data);
|
||||||
|
#ifndef __rtems__
|
||||||
int setenv(const char *name, const char *value);
|
int setenv(const char *name, const char *value);
|
||||||
|
#endif /* __rtems__ */
|
||||||
int unsetenv(const char *name);
|
int unsetenv(const char *name);
|
||||||
int testenv(const char *name);
|
int testenv(const char *name);
|
||||||
|
|
||||||
|
@ -98,7 +98,6 @@
|
|||||||
|
|
||||||
#define realloc _bsd_realloc
|
#define realloc _bsd_realloc
|
||||||
#define reallocf _bsd_reallocf
|
#define reallocf _bsd_reallocf
|
||||||
#define setenv _bsd_setenv
|
|
||||||
|
|
||||||
/* Debug */
|
/* Debug */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user