Date: Sat, 11 Apr 2015 03:56:24 +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: r281402 - head/tools/regression/sockets/unix_socket Message-ID: <201504110356.t3B3uOQ8044482@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 11 03:56:23 2015 New Revision: 281402 URL: https://svnweb.freebsd.org/changeset/base/281402 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/unix_socket/Makefile head/tools/regression/sockets/unix_socket/unix_socket.c Modified: head/tools/regression/sockets/unix_socket/Makefile ============================================================================== --- head/tools/regression/sockets/unix_socket/Makefile Sat Apr 11 03:54:43 2015 (r281401) +++ head/tools/regression/sockets/unix_socket/Makefile Sat Apr 11 03:56:23 2015 (r281402) @@ -2,6 +2,6 @@ PROG= unix_socket MAN= -WARNS?= 3 +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/unix_socket/unix_socket.c ============================================================================== --- head/tools/regression/sockets/unix_socket/unix_socket.c Sat Apr 11 03:54:43 2015 (r281401) +++ head/tools/regression/sockets/unix_socket/unix_socket.c Sat Apr 11 03:56:23 2015 (r281402) @@ -40,7 +40,7 @@ #include <unistd.h> int -main(int argc, char *argv[]) +main(void) { int sock, socks[2];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504110356.t3B3uOQ8044482>