From owner-svn-src-all@FreeBSD.ORG Sat Apr 11 03:57:37 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31CB5AF7; Sat, 11 Apr 2015 03:57:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D622367; Sat, 11 Apr 2015 03:57:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3B3vaZT044656; Sat, 11 Apr 2015 03:57:36 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3B3vapH044654; Sat, 11 Apr 2015 03:57:36 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201504110357.t3B3vapH044654@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Sat, 11 Apr 2015 03:57:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281403 - head/tools/regression/sockets/unix_sorflush X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 03:57:37 -0000 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 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];