svn commit: r281402 - head/tools/regression/sockets/unix_socket
Garrett Cooper
ngie at FreeBSD.org
Sat Apr 11 03:56:25 UTC 2015
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];
More information about the svn-src-all
mailing list