summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-04-10 07:59:46 +0000
committerngie <ngie@FreeBSD.org>2015-04-10 07:59:46 +0000
commit885290715421ed852faf32f5d5e85bb830900b4e (patch)
tree463f5134a37966ae7be8f1b5f1d1250b3565e1cf /tools
parent0591d7c2f2291e556b8844dc46eb00455e86e58f (diff)
downloadFreeBSD-src-885290715421ed852faf32f5d5e85bb830900b4e.zip
FreeBSD-src-885290715421ed852faf32f5d5e85bb830900b4e.tar.gz
Fix -Wunused warnings, bump WARNS to 6
The testcase fails today on subtest # 9 The output is still broken if prove -rv is run and the testcase aborts prematurely (the testcase doesn't really conform to TAP protocol properly, except when it completes fully) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/sockets/accf_data_attach/Makefile4
-rw-r--r--tools/regression/sockets/accf_data_attach/accf_data_attach.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/tools/regression/sockets/accf_data_attach/Makefile b/tools/regression/sockets/accf_data_attach/Makefile
index 75ed46b..4d33728 100644
--- a/tools/regression/sockets/accf_data_attach/Makefile
+++ b/tools/regression/sockets/accf_data_attach/Makefile
@@ -4,8 +4,6 @@
PROG= accf_data_attach
MAN=
-
-accf_data_attach: accf_data_attach.c
- gcc -Wall -o accf_data_attach accf_data_attach.c
+WARNS?= 6
.include <bsd.prog.mk>
diff --git a/tools/regression/sockets/accf_data_attach/accf_data_attach.c b/tools/regression/sockets/accf_data_attach/accf_data_attach.c
index 369481e..59ea68c 100644
--- a/tools/regression/sockets/accf_data_attach/accf_data_attach.c
+++ b/tools/regression/sockets/accf_data_attach/accf_data_attach.c
@@ -58,7 +58,7 @@
* make sure it is removed.
*/
int
-main(int argc, char *argv[])
+main(void)
{
struct accept_filter_arg afa;
struct sockaddr_in sin;
OpenPOWER on IntegriCloud