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/system.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/system.c')
-rw-r--r-- | lib/libc/stdlib/system.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/system.c b/lib/libc/stdlib/system.c index de32d4328f7..fe718276b92 100644 --- a/lib/libc/stdlib/system.c +++ b/lib/libc/stdlib/system.c @@ -1,4 +1,4 @@ -/* $OpenBSD: system.c,v 1.11 2015/10/23 04:44:41 guenther Exp $ */ +/* $OpenBSD: system.c,v 1.12 2016/03/13 18:34:21 guenther Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -36,8 +36,6 @@ #include <unistd.h> #include <paths.h> -extern char **environ; - int system(const char *command) { |