diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-10 09:27:23 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-10 09:27:23 +0000 |
commit | 592f72c3426258e5344776af5a272278b7a7347a (patch) | |
tree | 3a91f3f39916268b77fcedc932ea71194caf1c28 /tools | |
parent | 9bd6a71c1fcde329104784dcfaf9791a5065c839 (diff) | |
download | FreeBSD-src-592f72c3426258e5344776af5a272278b7a7347a.zip FreeBSD-src-592f72c3426258e5344776af5a272278b7a7347a.tar.gz |
Remove argc/argv (-Wunused)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/sockets/listenclose/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/sockets/listenclose/listenclose.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/listenclose/Makefile b/tools/regression/sockets/listenclose/Makefile index 1e146dc..8f4dc4e 100644 --- a/tools/regression/sockets/listenclose/Makefile +++ b/tools/regression/sockets/listenclose/Makefile @@ -4,6 +4,6 @@ PROG= listenclose MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/tools/regression/sockets/listenclose/listenclose.c b/tools/regression/sockets/listenclose/listenclose.c index 425e39f..f920846 100644 --- a/tools/regression/sockets/listenclose/listenclose.c +++ b/tools/regression/sockets/listenclose/listenclose.c @@ -52,7 +52,7 @@ */ int -main(int argc, char *argv[]) +main(void) { int listen_sock, connect_sock; struct sockaddr_in sin; |