diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-11 03:57:35 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-11 03:57:35 +0000 |
commit | 1f60fa52d5d5d0caf05a36b0dfd4cb61155c46d2 (patch) | |
tree | f7e2921f0e36c178e88d1754c9cd0e207ba9d08e /tools | |
parent | e92d59d6f1bdd24abcb5794e3137c59b691aac65 (diff) | |
download | FreeBSD-src-1f60fa52d5d5d0caf05a36b0dfd4cb61155c46d2.zip FreeBSD-src-1f60fa52d5d5d0caf05a36b0dfd4cb61155c46d2.tar.gz |
Garbage collect argc/argv and bump WARNS to 6
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/sockets/unix_sorflush/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/sockets/unix_sorflush/unix_sorflush.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/unix_sorflush/Makefile b/tools/regression/sockets/unix_sorflush/Makefile index 237eb3d..db0aa6a 100644 --- a/tools/regression/sockets/unix_sorflush/Makefile +++ b/tools/regression/sockets/unix_sorflush/Makefile @@ -2,6 +2,6 @@ PROG= unix_sorflush MAN= -WARNS?= 3 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/tools/regression/sockets/unix_sorflush/unix_sorflush.c b/tools/regression/sockets/unix_sorflush/unix_sorflush.c index 126de2f..e0deb00 100644 --- a/tools/regression/sockets/unix_sorflush/unix_sorflush.c +++ b/tools/regression/sockets/unix_sorflush/unix_sorflush.c @@ -68,7 +68,7 @@ shutdown_and_exit(int s) } int -main(int argc, char *argv[]) +main(void) { pid_t pida, pidb; int sv[2]; |