From nobody Tue Apr 12 17:10:39 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 B9F7C11E278F; Tue, 12 Apr 2022 17:10:40 +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 4KdC0b4d8fz4l1b; Tue, 12 Apr 2022 17:10:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783439; 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=DAmqOR0ZsMmt+kXEKR7quC/ZzEwaQF9aFUdeJm7EKQU=; b=Gejg3aIHgCkcd1C3EVpU2AknynpuePhTLnSwREohl+d2+bW/Zm1YjP7exT1ZPCCoo2sheH FtyJhVbbaUydPCdkBPn9Q5pBZPpPOSOSoNS7lTK7ulG8C2H/IrdFgR33jcnXtkr/wVcPNG ugjr1K9H0tzNR4xGKBbUszVmZm2cdHKB5HjBQDNytheCZRj/+qg30A32aq2CU1F79Kf1n9 Lp9NNo76W3f7aXaNPavvlNqPJu64AgI4KGdyWrGyu9dy31NxVZKCSsfjwtPiQSnIQHuQBw M8vMmRLEQOV8UWPLCfHbm9wMsrS2CqCdHseT67dPkzrviy3G7gVPJ4lbi+wKrQ== 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 6B79D1B517; Tue, 12 Apr 2022 17:10:39 +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 23CHAdK1051765; Tue, 12 Apr 2022 17:10:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CHAdQU051764; Tue, 12 Apr 2022 17:10:39 GMT (envelope-from git) Date: Tue, 12 Apr 2022 17:10:39 GMT Message-Id: <202204121710.23CHAdQU051764@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: 5f9c9ae2f22b - main - Remove checks for __CC_SUPPORTS_WARNING assuming it is always true. 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: 5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649783439; 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=DAmqOR0ZsMmt+kXEKR7quC/ZzEwaQF9aFUdeJm7EKQU=; b=MWBikWyVKc3wkw9OXjYI2bkY+F9bdagi6kPw1o0aXHG2qr76sVFa4UeVcHpt/I4I2DT/Uh GKDmnYrdOIjnUwTvWCTHHwaxFktFmy31uvXx2mVLH2NmTkVUgFjDj6jEbk2nXM7ecI+piB kfAPetTpGhhgS4/S+1T4WO3ztSa/QxcSfPaj8fifvwptqLWVTwnNAuhm9utL3N8nq5BNtk 6ZhRCzWki7bNArPYyABYcBS1BR8GT2/kfA5Hvy4cKX/40S5qhm5y8WB46vP+cUdwd7DswX cgOlxNwdCtGvUjbq/yhxwfUzAmZwuLyX4wi+rEhvzESzic1B1sOqUy8Zz7budw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649783439; a=rsa-sha256; cv=none; b=mBl6q9y3qLMwxH9u3v53GKZKaoyAKi4BTm+VHmqfvdlVmWuFY+L+/hUqfjLFT0ZqJPx/Uf d//ppOWJIP5kSqcSIJHLDlAE7Tup87IVQr/VnjXYuIdL1xHXDnBTrzN718M5CCaByO6rYZ o1yt6PeBy8GyZc0+aX8as8YSbROMyaCqkjQLS3Npgs7Iq9c3q9UcNrFYx2H+EGGK6AcoFz i82yFjjOrkTU/Jt7ys80cfaXjVjJgCyUkO1SsxDFf1AcBoPgb1qKINnoTDoIB8NZ0kXogC 6CTTxl/sBfXC3skFDS0EAUoS76yebwg6ZS6imL8IPiBLZaHT6RnLH4FW36LdyA== 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=5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914 commit 5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914 Author: John Baldwin AuthorDate: 2022-04-12 17:06:13 +0000 Commit: John Baldwin CommitDate: 2022-04-12 17:06:13 +0000 Remove checks for __CC_SUPPORTS_WARNING assuming it is always true. All supported compilers (modern versions of GCC and clang) support this. PR: 263102 (exp-run) Reviewed by: brooks, imp Differential Revision: https://reviews.freebsd.org/D34803 --- sys/amd64/include/limits.h | 4 ---- sys/arm/include/limits.h | 4 ---- sys/i386/include/limits.h | 4 ---- sys/i386/include/speaker.h | 4 ---- sys/powerpc/include/limits.h | 4 ---- sys/sys/syslimits.h | 5 ----- 6 files changed, 25 deletions(-) diff --git a/sys/amd64/include/limits.h b/sys/amd64/include/limits.h index 5a7b831b3089..f2a4bf75fe2c 100644 --- a/sys/amd64/include/limits.h +++ b/sys/amd64/include/limits.h @@ -35,11 +35,7 @@ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ -#include - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/limits.h is deprecated. Include sys/limits.h instead." -#endif #include diff --git a/sys/arm/include/limits.h b/sys/arm/include/limits.h index 5a7b831b3089..f2a4bf75fe2c 100644 --- a/sys/arm/include/limits.h +++ b/sys/arm/include/limits.h @@ -35,11 +35,7 @@ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ -#include - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/limits.h is deprecated. Include sys/limits.h instead." -#endif #include diff --git a/sys/i386/include/limits.h b/sys/i386/include/limits.h index 5a7b831b3089..f2a4bf75fe2c 100644 --- a/sys/i386/include/limits.h +++ b/sys/i386/include/limits.h @@ -35,11 +35,7 @@ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ -#include - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/limits.h is deprecated. Include sys/limits.h instead." -#endif #include diff --git a/sys/i386/include/speaker.h b/sys/i386/include/speaker.h index 2950b4760feb..574470a579d6 100644 --- a/sys/i386/include/speaker.h +++ b/sys/i386/include/speaker.h @@ -5,11 +5,7 @@ #ifndef _MACHINE_SPEAKER_H_ #define _MACHINE_SPEAKER_H_ -#include - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/speaker.h is deprecated. Include dev/speaker/speaker.h instead." -#endif #include diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h index 5a7b831b3089..f2a4bf75fe2c 100644 --- a/sys/powerpc/include/limits.h +++ b/sys/powerpc/include/limits.h @@ -35,11 +35,7 @@ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ -#include - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/limits.h is deprecated. Include sys/limits.h instead." -#endif #include diff --git a/sys/sys/syslimits.h b/sys/sys/syslimits.h index b330ae7f0e27..08aae5aaae71 100644 --- a/sys/sys/syslimits.h +++ b/sys/sys/syslimits.h @@ -36,13 +36,8 @@ #define _SYS_SYSLIMITS_H_ #if !defined(_STANDALONE) && !defined(_KERNEL) && !defined(_LIMITS_H_) && !defined(_SYS_PARAM_H_) -#ifndef _SYS_CDEFS_H_ -#error this file needs sys/cdefs.h as a prerequisite -#endif -#ifdef __CC_SUPPORTS_WARNING #warning "No user-serviceable parts inside." #endif -#endif /* * Do not add any new variables here. (See the comment at the end of