about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/start.c3
-rw-r--r--sysdeps/mach/start.c7
2 files changed, 1 insertions, 9 deletions
diff --git a/sysdeps/mach/hurd/start.c b/sysdeps/mach/hurd/start.c
index 91be7eaefe..10d6e72228 100644
--- a/sysdeps/mach/hurd/start.c
+++ b/sysdeps/mach/hurd/start.c
@@ -46,9 +46,6 @@ unsigned long int *__hurd_sigthread_variables;
 vm_address_t _hurd_stack_base;
 vm_size_t _hurd_stack_size;
 
-char **__environ;
-weak_alias (__environ, environ)
-
 /* Things that want to be run before _hurd_init or much anything else.
    Importantly, these are called before anything tries to use malloc.  */
 DEFINE_HOOK (_hurd_preinit_hook, (void));
diff --git a/sysdeps/mach/start.c b/sysdeps/mach/start.c
index 26abc23f53..c2ea3e3b7b 100644
--- a/sysdeps/mach/start.c
+++ b/sysdeps/mach/start.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -31,11 +31,6 @@ int __data_start = 0;
 
 volatile int errno;
 
-#ifndef	HAVE_GNU_LD
-#define	__environ	environ
-#endif
-char **__environ;
-
 extern void __mach_init (void);
 extern void __libc_init (int argc, char **argv, char **envp);
 extern int main (int argc, char **argv, char **envp);