Pārlūkot izejas kodu

getenv: allow overwriting of function

This fixes static compile issues of sudo, because sudo
uses it's own getenv implementation.
Waldemar Brodkorb 10 gadi atpakaļ
vecāks
revīzija
414ce5018d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)