svn commit: r281355 - head/tools/regression/sockets/accf_data_attach
Garrett Cooper
ngie at FreeBSD.org
Fri Apr 10 07:59:47 UTC 2015
Author: ngie
Date: Fri Apr 10 07:59:46 2015
New Revision: 281355
URL: https://svnweb.freebsd.org/changeset/base/281355
Log:
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
Modified:
head/tools/regression/sockets/accf_data_attach/Makefile
head/tools/regression/sockets/accf_data_attach/accf_data_attach.c
Modified: head/tools/regression/sockets/accf_data_attach/Makefile
==============================================================================
--- head/tools/regression/sockets/accf_data_attach/Makefile Fri Apr 10 07:35:53 2015 (r281354)
+++ head/tools/regression/sockets/accf_data_attach/Makefile Fri Apr 10 07:59:46 2015 (r281355)
@@ -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>
Modified: head/tools/regression/sockets/accf_data_attach/accf_data_attach.c
==============================================================================
--- head/tools/regression/sockets/accf_data_attach/accf_data_attach.c Fri Apr 10 07:35:53 2015 (r281354)
+++ head/tools/regression/sockets/accf_data_attach/accf_data_attach.c Fri Apr 10 07:59:46 2015 (r281355)
@@ -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;
More information about the svn-src-head
mailing list