From nobody Tue Apr 12 17:10:35 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 19E2F11E22FA; Tue, 12 Apr 2022 17:10:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdC0X1tvwz4l1B; Tue, 12 Apr 2022 17:10:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EiUV7XwkXl1tWzGwndUJfnQLR56A4kkVQYN2GYTpUa0=; b=IDAy5IZZdiLJpJgnAT46hsH8lGPH3FEj4Z56CflhGo4V/lAP6B3+oD2nDF5CuWnXk9cflg WLaPoeZLwMSoDtHomvHBymUovO7YsUmN9hu4IdLWS/l+KOhC05tayNG3M7q1e/LECC6wt6 CQMFy0ANEtJIGLd1BB26jibb8TIepHgKcmo5YhblA2qi6cczwsQdLkc0++izlXek0yey87 +SGFb98UKFSlB/Evs4u3GvfRDyqeV/x95MWRuM8cFIf8RXpfLnC82tSN4s3tG70Ze/8BPO 7Y+KKdHT8PfbpYKCEhy6QkyhlmeWDMOj7HXvwtNRAQyBmRIKg8z94MRAAbREiA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B9981B4B3; Tue, 12 Apr 2022 17:10:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23CHAZUq051685; Tue, 12 Apr 2022 17:10:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CHAZMh051684; Tue, 12 Apr 2022 17:10:35 GMT (envelope-from git) Date: Tue, 12 Apr 2022 17:10:35 GMT Message-Id: <202204121710.23CHAZMh051684@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: b8717a8709b2 - main - Remove checks for __GNUCLIKE macros for varargs. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8717a8709b297a7bdbcfae29e384cda9ce9c89a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EiUV7XwkXl1tWzGwndUJfnQLR56A4kkVQYN2GYTpUa0=; b=MHOGPK4rAkXwM3IGRd27kxpDCo0gxsd5FFH2h+nFRBSq7w9iWdMPz7zAzRT3ktxMnTuwkL E2UiNoVB3aOwsdtCkag1ePjbpEEFCE8YZfusEWBT3o+zFUtKcCn+Y9htjuAQr1M111aNcb k1oWL8vnXqAZDCJoSSQrPxHuL4HNqNqHJ3D8lEmNHn08IthwfbMMbpCi17n1DRCKNqsIjI ErMzex+QxvDGr+6QH3Ui9jxnxElfRGXBBF82SOMtqpsjBdUIGHl9C30IqHsyq9lPayC4U3 vyKdBsLgJxT2FysUZI1pPDautRhWbHNWtausuwTa5sdJ72U4QKo7NfBI4XpAqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649783437; a=rsa-sha256; cv=none; b=lUvEDPX94R/eGPZZ9fsDO3m2QUvEdmQWi485zZPCZiN9uPnr0VIA3BewQBtHe79VRT7SMm gtUQbTQiyz6wa8RFLhxynfan5Fv9TJpyZD7oA8u7tvlI+c5ac4GZT3P8woJY8xdnJd0cXv I4OfsNxpoPEF/aLIfBWaG4MhgqN9cGhbMZKe89Acpc+ToURGAC5MG4gYdVAWSjlY9lpKNb JUNhVZmtyl3/S7QQRuEIP26C4dcl1CdJVQMZePEBr5HfHKCgCmgB9EYjM8pPJVbag8QZhm e7oOIXnmvdA2agTq7T2eQg+2fw3rv+b6rB8gfZICzZaUJknpV7IULpC7c1I8Kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b8717a8709b297a7bdbcfae29e384cda9ce9c89a commit b8717a8709b297a7bdbcfae29e384cda9ce9c89a Author: John Baldwin AuthorDate: 2022-04-12 17:06:00 +0000 Commit: John Baldwin CommitDate: 2022-04-12 17:06:00 +0000 Remove checks for __GNUCLIKE macros for varargs. All supported compilers (modern versions of GCC and clang) support these. PR: 263102 (exp-run) Reviewed by: brooks, imp Differential Revision: https://reviews.freebsd.org/D34800 --- sys/sys/_stdarg.h | 2 -- sys/sys/_types.h | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/sys/_stdarg.h b/sys/sys/_stdarg.h index 0d4ca8996f00..07f3af47fe44 100644 --- a/sys/sys/_stdarg.h +++ b/sys/sys/_stdarg.h @@ -41,7 +41,6 @@ typedef __va_list va_list; #endif -#ifdef __GNUCLIKE_BUILTIN_STDARG #define va_start(ap, last) __builtin_va_start((ap), (last)) #define va_arg(ap, type) __builtin_va_arg((ap), type) #define __va_copy(dest, src) __builtin_va_copy((dest), (src)) @@ -49,6 +48,5 @@ #define va_copy(dest, src) __va_copy(dest, src) #endif #define va_end(ap) __builtin_va_end(ap) -#endif #endif /* ! _SYS__STDARG_H_ */ diff --git a/sys/sys/_types.h b/sys/sys/_types.h index 46711a938bc4..9c6e6858b181 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -208,13 +208,8 @@ typedef __uintmax_t __rman_res_t; * Types for varargs. These are all provided by builtin types these * days, so centralize their definition. */ -#ifdef __GNUCLIKE_BUILTIN_VARARGS typedef __builtin_va_list __va_list; /* internally known to gcc */ -#else -#error "No support for your compiler for stdargs" -#endif -#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \ - && !defined(__NO_GNUC_VA_LIST) +#if !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) #define __GNUC_VA_LIST typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/ #endif