diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-08-10 21:39:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-08-14 23:31:58 +0200 |
commit | 414ce5018d2cdf0dc8ebe880dc5350f3513420ec (patch) | |
tree | 2322c54f0d1e529d21eb50d1074f46f3035b4603 | |
parent | 6cf35f84045f38f067365623886fecff16ca92f9 (diff) |
getenv: allow overwriting of function
This fixes static compile issues of sudo, because sudo
uses it's own getenv implementation.
-rw-r--r-- | libc/stdlib/getenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/getenv.c b/libc/stdlib/getenv.c index d5db1785c..9b04d0fab 100644 --- a/libc/stdlib/getenv.c +++ b/libc/stdlib/getenv.c @@ -27,4 +27,4 @@ char *getenv(const char *var) } return NULL; } -libc_hidden_def(getenv) +libc_hidden_weak(getenv) |