diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-02-21 03:50:25 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-02-21 03:50:25 +0000 |
commit | a751987ad5ab063e3090f7139d06376de254fb50 (patch) | |
tree | c587f153453ccd544bcaa2af3009e81b98cbec70 /usr.bin | |
parent | 61613f19123cd431e20f4c70b7ccdd66c1f1cca4 (diff) | |
download | src-a751987ad5ab063e3090f7139d06376de254fb50.tar.gz src-a751987ad5ab063e3090f7139d06376de254fb50.zip |
Define extern **environ in global scope instead of in function.
Notes
Notes:
svn path=/head/; revision=188889
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/printenv/printenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/printenv/printenv.c b/usr.bin/printenv/printenv.c index 8ad23c7454da..03257f5d41f2 100644 --- a/usr.bin/printenv/printenv.c +++ b/usr.bin/printenv/printenv.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. * @@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> void usage(void); +extern char **environ; /* * printenv @@ -64,7 +65,6 @@ void usage(void); int main(int argc, char *argv[]) { - extern char **environ; char *cp, **ep; size_t len; int ch; |