about summary refs log tree commit diff
path: root/posix/environ.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-25 23:28:51 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-25 23:28:51 +0000
commitc9caec621be48533b6adf9a1d0d2bd0e8255d484 (patch)
tree2f37445377878a08c6520a1cb24e8a87b1f1ecc2 /posix/environ.c
parentaa1f6fa87914c0f065e1315e812f268ab974efa5 (diff)
downloadglibc-c9caec621be48533b6adf9a1d0d2bd0e8255d484.tar.gz
glibc-c9caec621be48533b6adf9a1d0d2bd0e8255d484.tar.xz
glibc-c9caec621be48533b6adf9a1d0d2bd0e8255d484.zip
Update.
	* posix/environ.c: Moved to...
	* sysdeps/generic/environ.c: ...here.  New file.
Diffstat (limited to 'posix/environ.c')
-rw-r--r--posix/environ.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/posix/environ.c b/posix/environ.c
deleted file mode 100644
index a0ed0d80ea..0000000000
--- a/posix/environ.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/* This file just defines the `__environ' variable (and alias `environ').  */
-
-#include <unistd.h>
-#include <stddef.h>
-
-/* This must be initialized; we cannot have a weak alias into bss.  */
-char **__environ = NULL;
-weak_alias (__environ, environ)
-
-/* The SVR4 ABI says `_environ' will be the name to use
-   in case the user overrides the weak alias `environ'.  */
-weak_alias (__environ, _environ)