commit | 58d9e280d459225aa8dc4533e883182b08215f7d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Apr 22 17:41:00 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Apr 22 17:41:00 2014 -0700 |
tree | 2c2771dfb1bf95012d13688f8f9142652ba0f9f8 | |
parent | 635edbdf93a127da7db77d9cd174615734b4fb85 [diff] [blame] |
Switch to the upstream OpenBSD getenv/putenv/setenv implementation. This fixes all the bugs found by the new tests. Change-Id: Id5a5f9f39a0620208bafa053f871a044725b4795
diff --git a/libc/include/unistd.h b/libc/include/unistd.h index d21f23d..6cb36d8 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h
@@ -47,7 +47,8 @@ #define SEEK_CUR 1 #define SEEK_END 2 -extern char **environ; +extern char** environ; + extern __noreturn void _exit(int); extern pid_t fork(void);