svn commit: r281403 - head/tools/regression/sockets/unix_sorflush
Garrett Cooper
ngie at FreeBSD.org
Sat Apr 11 03:57:37 UTC 2015
Author: ngie
Date: Sat Apr 11 03:57:35 2015
New Revision: 281403
URL: https://svnweb.freebsd.org/changeset/base/281403
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_sorflush/Makefile
head/tools/regression/sockets/unix_sorflush/unix_sorflush.c
Modified: head/tools/regression/sockets/unix_sorflush/Makefile
==============================================================================
--- head/tools/regression/sockets/unix_sorflush/Makefile Sat Apr 11 03:56:23 2015 (r281402)
+++ head/tools/regression/sockets/unix_sorflush/Makefile Sat Apr 11 03:57:35 2015 (r281403)
@@ -2,6 +2,6 @@
PROG= unix_sorflush
MAN=
-WARNS?= 3
+WARNS?= 6
.include <bsd.prog.mk>
Modified: head/tools/regression/sockets/unix_sorflush/unix_sorflush.c
==============================================================================
--- head/tools/regression/sockets/unix_sorflush/unix_sorflush.c Sat Apr 11 03:56:23 2015 (r281402)
+++ head/tools/regression/sockets/unix_sorflush/unix_sorflush.c Sat Apr 11 03:57:35 2015 (r281403)
@@ -68,7 +68,7 @@ shutdown_and_exit(int s)
}
int
-main(int argc, char *argv[])
+main(void)
{
pid_t pida, pidb;
int sv[2];
More information about the svn-src-head
mailing list