Browse Source

getenv: allow overwriting of function

This fixes static compile issues of sudo, because sudo
uses it's own getenv implementation.
Waldemar Brodkorb 8 years ago
parent
commit
414ce5018d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/stdlib/getenv.c

+ 1 - 1
libc/stdlib/getenv.c

@@ -27,4 +27,4 @@ char *getenv(const char *var)
     }
     return NULL;
 }
-libc_hidden_def(getenv)
+libc_hidden_weak(getenv)