summaryrefslogtreecommitdiff
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-09 23:06:54 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-09 23:06:54 +0000
commite57fc6bbb2e98f9ef3336db698dc7dd260dfc502 (patch)
treed525aa4fb8a13d6459c6339e4543c840b415e636 /libc/stdlib/setenv.c
parent56139d5a7109db33a7f3e951595a45a0f7f12cd4 (diff)
Use __environ instead of the GNU extension environ.
-Erik
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r--libc/stdlib/setenv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 6628e4cc7..a027ced96 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -21,9 +21,6 @@ Cambridge, MA 02139, USA. */
#include <unistd.h>
#include <errno.h>
-#if !defined(HAVE_GNU_LD) && !defined (__ELF__)
-#define __environ environ
-#endif
#if defined(_REENTRENT) || defined(_THREAD_SAFE)
# include <pthread.h>