diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-11 03:35:33 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-11 03:35:33 +0000 |
commit | 93d332ff6fd53ee0ad0870694dbe912c9c89fb40 (patch) | |
tree | fa2aeb6fdcb27656c66667e0e2d37512f42ca3e9 /tools | |
parent | 3de93701b13b22216ab9b0093542df5a95f31d59 (diff) | |
download | FreeBSD-src-93d332ff6fd53ee0ad0870694dbe912c9c89fb40.zip FreeBSD-src-93d332ff6fd53ee0ad0870694dbe912c9c89fb40.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/socketpair/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/sockets/socketpair/socketpair.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/socketpair/Makefile b/tools/regression/sockets/socketpair/Makefile index ae71b17..ed66e3c 100644 --- a/tools/regression/sockets/socketpair/Makefile +++ b/tools/regression/sockets/socketpair/Makefile @@ -4,6 +4,6 @@ PROG= socketpair MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/tools/regression/sockets/socketpair/socketpair.c b/tools/regression/sockets/socketpair/socketpair.c index 5f46476..779878a 100644 --- a/tools/regression/sockets/socketpair/socketpair.c +++ b/tools/regression/sockets/socketpair/socketpair.c @@ -47,7 +47,7 @@ * right places. */ int -main(int argc, char *argv[]) +main(void) { int fd1, fd2, fd3; int sv[2]; |