From owner-svn-src-head@freebsd.org Mon Feb 12 14:48:15 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C5B5F2088A; Mon, 12 Feb 2018 14:48:15 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6AC877BE5; Mon, 12 Feb 2018 14:48:14 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E1169134C0; Mon, 12 Feb 2018 14:48:14 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1CEmErM082702; Mon, 12 Feb 2018 14:48:14 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1CEmEUX082701; Mon, 12 Feb 2018 14:48:14 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201802121448.w1CEmEUX082701@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Mon, 12 Feb 2018 14:48:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329164 - in head: include sys/amd64/include sys/i386/include sys/mips/include sys/powerpc/include sys/sparc64/include X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: in head: include sys/amd64/include sys/i386/include sys/mips/include sys/powerpc/include sys/sparc64/include X-SVN-Commit-Revision: 329164 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2018 14:48:15 -0000 Author: imp Date: Mon Feb 12 14:48:14 2018 New Revision: 329164 URL: https://svnweb.freebsd.org/changeset/base/329164 Log: We don't support gcc < 4.2.1, so varargs.h now is just #error always. Unifdef for versions prior to 4.2.1 and remove now-unused header files. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D14323 Deleted: head/sys/amd64/include/varargs.h head/sys/i386/include/varargs.h head/sys/mips/include/varargs.h head/sys/powerpc/include/varargs.h head/sys/sparc64/include/varargs.h Modified: head/include/varargs.h Modified: head/include/varargs.h ============================================================================== --- head/include/varargs.h Mon Feb 12 14:48:05 2018 (r329163) +++ head/include/varargs.h Mon Feb 12 14:48:14 2018 (r329164) @@ -31,15 +31,7 @@ #ifndef _VARARGS_H_ #define _VARARGS_H_ -#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ > 2 || __GNUC__ >= 4) - -#error " is obsolete with this version of GCC." +#error " is obsolete." #error "Change your code to use instead." - -#else /* ! __GNUC__ post GCC 3.3 */ - -#include - -#endif /* __GNUC__ post GCC 3.3 */ #endif /* !_VARARGS_H_ */