Date: Fri, 10 Apr 2015 09:23:00 +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: r281359 - head/tools/regression/sockets/fstat Message-ID: <201504100923.t3A9N0lp082428@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Apr 10 09:23:00 2015 New Revision: 281359 URL: https://svnweb.freebsd.org/changeset/base/281359 Log: Remove argc/argv (-Wunused) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/fstat/Makefile head/tools/regression/sockets/fstat/fstat.c Modified: head/tools/regression/sockets/fstat/Makefile ============================================================================== --- head/tools/regression/sockets/fstat/Makefile Fri Apr 10 09:21:07 2015 (r281358) +++ head/tools/regression/sockets/fstat/Makefile Fri Apr 10 09:23:00 2015 (r281359) @@ -4,6 +4,6 @@ PROG= fstat MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/fstat/fstat.c ============================================================================== --- head/tools/regression/sockets/fstat/fstat.c Fri Apr 10 09:21:07 2015 (r281358) +++ head/tools/regression/sockets/fstat/fstat.c Fri Apr 10 09:23:00 2015 (r281359) @@ -57,7 +57,7 @@ dotest(int domain, int type, int protoco } int -main(int argc, char *argv[]) +main(void) { dotest(PF_INET, SOCK_DGRAM, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504100923.t3A9N0lp082428>