Date: Sat, 11 Apr 2015 03:35:33 +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: r281398 - head/tools/regression/sockets/socketpair Message-ID: <201504110335.t3B3ZYVI034989@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 11 03:35:33 2015 New Revision: 281398 URL: https://svnweb.freebsd.org/changeset/base/281398 Log: Garbage collect argc/argv and bump WARNS to 6 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/socketpair/Makefile head/tools/regression/sockets/socketpair/socketpair.c Modified: head/tools/regression/sockets/socketpair/Makefile ============================================================================== --- head/tools/regression/sockets/socketpair/Makefile Sat Apr 11 03:24:49 2015 (r281397) +++ head/tools/regression/sockets/socketpair/Makefile Sat Apr 11 03:35:33 2015 (r281398) @@ -4,6 +4,6 @@ PROG= socketpair MAN= -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/socketpair/socketpair.c ============================================================================== --- head/tools/regression/sockets/socketpair/socketpair.c Sat Apr 11 03:24:49 2015 (r281397) +++ head/tools/regression/sockets/socketpair/socketpair.c Sat Apr 11 03:35:33 2015 (r281398) @@ -47,7 +47,7 @@ * right places. */ int -main(int argc, char *argv[]) +main(void) { int fd1, fd2, fd3; int sv[2];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504110335.t3B3ZYVI034989>