diff options
author | alfred <alfred@FreeBSD.org> | 2002-07-14 18:23:22 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-07-14 18:23:22 +0000 |
commit | c288b01e7dc244369bfc3e9378588bc005deca52 (patch) | |
tree | 826dbfc96c991b197cc2c88576fe83ac45542b9f /usr.bin/nohup | |
parent | adf0fb9f4e0176992d643bfe8da94a2d54f48ec0 (diff) | |
download | FreeBSD-src-c288b01e7dc244369bfc3e9378588bc005deca52.zip FreeBSD-src-c288b01e7dc244369bfc3e9378588bc005deca52.tar.gz |
WARNS=4
Diffstat (limited to 'usr.bin/nohup')
-rw-r--r-- | usr.bin/nohup/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/nohup/nohup.c | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/nohup/Makefile b/usr.bin/nohup/Makefile index 5ec4057..cd635ce 100644 --- a/usr.bin/nohup/Makefile +++ b/usr.bin/nohup/Makefile @@ -2,5 +2,6 @@ # $FreeBSD$ PROG= nohup +WARNS?= 4 .include <bsd.prog.mk> diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c index 230365f..fbb9754 100644 --- a/usr.bin/nohup/nohup.c +++ b/usr.bin/nohup/nohup.c @@ -71,9 +71,7 @@ static void usage(void); #define EXIT_MISC 127 int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int exit_status; @@ -98,7 +96,7 @@ main(argc, argv) } static void -dofile() +dofile(void) { int fd; char path[MAXPATHLEN]; @@ -132,7 +130,7 @@ dupit: } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: nohup [--] utility [arguments]\n"); exit(EXIT_MISC); |