diff options
author | David Malone <dwmalone@FreeBSD.org> | 2002-09-04 23:29:10 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2002-09-04 23:29:10 +0000 |
commit | f4ac32def255b5968bdd8150057b9c0d14595689 (patch) | |
tree | fb230419005f211ecea1e667385bde9886dbf0d8 /usr.bin/printenv/printenv.c | |
parent | d946bf789255a84ecbbbdfd07bffb48da063204f (diff) | |
download | src-test2-f4ac32def255b5968bdd8150057b9c0d14595689.tar.gz src-test2-f4ac32def255b5968bdd8150057b9c0d14595689.zip |
Notes
Diffstat (limited to 'usr.bin/printenv/printenv.c')
-rw-r--r-- | usr.bin/printenv/printenv.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/printenv/printenv.c b/usr.bin/printenv/printenv.c index 5d5bebf1deb4..8ad23c7454da 100644 --- a/usr.bin/printenv/printenv.c +++ b/usr.bin/printenv/printenv.c @@ -62,13 +62,11 @@ void usage(void); * February, 1979 */ int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { extern char **environ; - register char *cp, **ep; - register size_t len; + char *cp, **ep; + size_t len; int ch; while ((ch = getopt(argc, argv, "")) != -1) @@ -98,7 +96,7 @@ main(argc, argv) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: printenv [name]\n"); exit(1); |