diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-03-07 21:40:55 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-03-07 21:40:55 +0100 |
| commit | 6ef0bd02dbe34aab8b956ffa2db5679341d520f5 (patch) | |
| tree | b73958ffe535e02cefae47e3d3086e4dc7edd17a /stdlib/getenv.c | |
| parent | 77261698b4e938020a1b2032709a54d942ba330f (diff) | |
| download | glibc-6ef0bd02dbe34aab8b956ffa2db5679341d520f5.tar.xz glibc-6ef0bd02dbe34aab8b956ffa2db5679341d520f5.zip | |
posix: Move environ helper variables next to environ definition (bug 32541)
This helps with statically interposing getenv.
Updates commit 7a61e7f557a97ab597d6fca5e2d1f13f65685c61
("stdlib: Make getenv thread-safe in more cases").
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'stdlib/getenv.c')
| -rw-r--r-- | stdlib/getenv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/stdlib/getenv.c b/stdlib/getenv.c index 5e7212cca6..1a7b0bfc06 100644 --- a/stdlib/getenv.c +++ b/stdlib/getenv.c @@ -20,9 +20,6 @@ #include <string.h> #include <unistd.h> -struct environ_array *__environ_array_list; -environ_counter __environ_counter; - char * getenv (const char *name) { |
