diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-11 03:56:23 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-11 03:56:23 +0000 |
commit | e92d59d6f1bdd24abcb5794e3137c59b691aac65 (patch) | |
tree | 16bd22014213db8f432e104cf407a2dfe080b9e6 /tools | |
parent | 7abb75d23304a0b71812d828efc75d1f9640cafc (diff) | |
download | FreeBSD-src-e92d59d6f1bdd24abcb5794e3137c59b691aac65.zip FreeBSD-src-e92d59d6f1bdd24abcb5794e3137c59b691aac65.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_socket/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/sockets/unix_socket/unix_socket.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/unix_socket/Makefile b/tools/regression/sockets/unix_socket/Makefile index 40f6b92..bb60456 100644 --- a/tools/regression/sockets/unix_socket/Makefile +++ b/tools/regression/sockets/unix_socket/Makefile @@ -2,6 +2,6 @@ PROG= unix_socket MAN= -WARNS?= 3 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/tools/regression/sockets/unix_socket/unix_socket.c b/tools/regression/sockets/unix_socket/unix_socket.c index 24b6baf..085366f 100644 --- a/tools/regression/sockets/unix_socket/unix_socket.c +++ b/tools/regression/sockets/unix_socket/unix_socket.c @@ -40,7 +40,7 @@ #include <unistd.h> int -main(int argc, char *argv[]) +main(void) { int sock, socks[2]; |