From 62b65008d0aafdaabd77b3f9ac66bb0598ca7df9 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 10 Apr 2015 09:27:23 +0000 Subject: Remove argc/argv (-Wunused) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- tools/regression/sockets/listenclose/Makefile | 2 +- tools/regression/sockets/listenclose/listenclose.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/regression/sockets') diff --git a/tools/regression/sockets/listenclose/Makefile b/tools/regression/sockets/listenclose/Makefile index 1e146dcb30dd..8f4dc4e922d4 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 diff --git a/tools/regression/sockets/listenclose/listenclose.c b/tools/regression/sockets/listenclose/listenclose.c index 425e39f15820..f920846de309 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; -- cgit v1.2.3