diff options
author | 2016-03-13 18:34:20 +0000 | |
---|---|---|
committer | 2016-03-13 18:34:20 +0000 | |
commit | e422429247bd689ad82a15ebdacdfc785b980b1d (patch) | |
tree | e55007aaec3fc67c3671cede86e113d93041c114 /lib/libc/stdlib/setenv.c | |
parent | remove an extra space before ^\ help message. (diff) | |
download | wireguard-openbsd-e422429247bd689ad82a15ebdacdfc785b980b1d.tar.xz wireguard-openbsd-e422429247bd689ad82a15ebdacdfc785b980b1d.zip |
environ and __progname are not declared in a public header; declare them
in libc's hidden/stdlib.h instead of in each .c file that needs one
ok deraadt@ gsoares@ mpi@
Diffstat (limited to 'lib/libc/stdlib/setenv.c')
-rw-r--r-- | lib/libc/stdlib/setenv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/setenv.c b/lib/libc/stdlib/setenv.c index e55a1feb6f9..1182abdaa34 100644 --- a/lib/libc/stdlib/setenv.c +++ b/lib/libc/stdlib/setenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: setenv.c,v 1.16 2015/09/13 08:31:47 guenther Exp $ */ +/* $OpenBSD: setenv.c,v 1.17 2016/03/13 18:34:21 guenther Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. @@ -32,7 +32,6 @@ #include <stdlib.h> #include <string.h> -extern char **environ; static char **lastenv; /* last value of environ */ /* |