Date: Fri, 10 Apr 2015 09:26:22 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281360 - head/tools/regression/sockets/listen_backlog Message-ID: <201504100926.t3A9QMse083037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Apr 10 09:26:21 2015 New Revision: 281360 URL: https://svnweb.freebsd.org/changeset/base/281360 Log: Fix warnings - Remove argc/argv (-Wunused) - Mark some parameters to socket_listen_update __unused (-Wunused) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/listen_backlog/Makefile head/tools/regression/sockets/listen_backlog/listen_backlog.c Modified: head/tools/regression/sockets/listen_backlog/Makefile ============================================================================== --- head/tools/regression/sockets/listen_backlog/Makefile Fri Apr 10 09:23:00 2015 (r281359) +++ head/tools/regression/sockets/listen_backlog/Makefile Fri Apr 10 09:26:21 2015 (r281360) @@ -1,7 +1,7 @@ # $FreeBSD$ PROG= listen_backlog -WARNS?= 3 MAN= +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/listen_backlog/listen_backlog.c ============================================================================== --- head/tools/regression/sockets/listen_backlog/listen_backlog.c Fri Apr 10 09:23:00 2015 (r281359) +++ head/tools/regression/sockets/listen_backlog/listen_backlog.c Fri Apr 10 09:26:21 2015 (r281360) @@ -218,7 +218,8 @@ test_defaults(void) * the first and second listen(). */ static int -socket_listen_update(int domain, int type, int protocol, int backlog, +socket_listen_update(int domain __unused, int type __unused, + int protocol __unused, int backlog, int update_backlog, int listen_backlog_assertion, int update_backlog_assertion, int *sockp, const char *domainstring, const char *typestring, const char *testclass, const char *test) @@ -365,7 +366,7 @@ test_set_qlimit(void) } int -main(int argc, char *argv[]) +main(void) { size_t len;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504100926.t3A9QMse083037>