From nobody Tue Apr 12 17:10:37 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 554BA11E2684; 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 4KdC0Y4TPvz4l6B; Tue, 12 Apr 2022 17:10:37 +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=MzgcfaATL4boGxvZtG3v3qbn07PmEMjuF2t12P4DH08=; b=yrQviXQkAYb2s0rFzpFFhjKDbiEhFZa9Le5Z17ThqGoOBx7SIeTU1x31COSj8nj/91OQ74 rZj6wimoT6cZ3PXtFTuu2xw1TbZOt242yvy+3HKa92b0DdBeoYdSQZoN0ecj/m1QbOz6Qg sGP8UyTrIoFwtbT+EiAivDbdq6b3ro1nog9TQqL+hrrXJZMp2sM3ZZk7SgqBTOS6aqIauV Ee6+eOcoCcmNSNlp7ztmL0DRUQ46Gqz6MrvJLXeu/fFFBYL3fUgZQJ13gnFJvMfhGFQo6T KT2cOlk8r6ZDxXM98xr8lNW5V8hlVOPS5J7H72HnlZXCmx6iDjyyUTtI/IVDIw== 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 2CF891B3E7; Tue, 12 Apr 2022 17:10:37 +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 23CHAbXQ051709; Tue, 12 Apr 2022 17:10:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CHAbxd051708; Tue, 12 Apr 2022 17:10:37 GMT (envelope-from git) Date: Tue, 12 Apr 2022 17:10:37 GMT Message-Id: <202204121710.23CHAbxd051708@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: 87445068f96d - main - Remove check for __CC_SUPPORTS___FUNC__. 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: 87445068f96dffeb4e7f733eb155bb7caf47b5c2 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=MzgcfaATL4boGxvZtG3v3qbn07PmEMjuF2t12P4DH08=; b=cHdQhNguhuq9DJ5tvUlgIKGuPwg9vf7cU99KA/zBh1JMOlM0dZZ1NCNeNpeobfINR0OgTB VkuhdJ/LCGwOUKYi49+ayATwn/T7eRylo9Y1IjtHHig5jZkHq87IodFD6R74iy3p7kvrja lwRdlbYP0ZxMVbyM772QrjlWXa1ffbV36741gpKzLg2ydfKUje7DSw47B1u0sG/vai+uPM bpyaAu/AFvJWTHJS4VhVmAvJSdrn/Od95V5HgYxKB6VdWXg1uZOdYcUDmsjXUbnVdpzqLp 4W+YaYWXep2avZijEgUdHjvUvtQjWLNZXwBi1Am/EpwUxQhsr+m9zv9/Tv8jwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649783437; a=rsa-sha256; cv=none; b=xcaS/sGGmJdPW8+GTV6rc2r1Uh/Yp4mZLWe+JlepQom5vvBTIXXthv6nPLmx2a2u537eZ3 EHrjaGzIaiDpcnEWAE2H7ooDtnG3YPrt7YrEGa4fHoA9Inmxo6ZcRz4VuHCmw/utMGpicm svzy8jrPGV3xfFDVInflJ+unt8OfZ6bslQkMxupMja+Nklyj+Au5VY5D6hkW7Ao2hhgRnv doFQHAejp11OkIBw1+h38IrvQ0zfxdysaWlfL17Ag0RXBkUz07BMpfiPuPVGLUvjAGmr5L eRO9Aq9gKyNWGeQFAgfvAfu0SAB4k3tUt6M4ImzrIPz26OqSG0KXFB82Nx6mIQ== 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=87445068f96dffeb4e7f733eb155bb7caf47b5c2 commit 87445068f96dffeb4e7f733eb155bb7caf47b5c2 Author: John Baldwin AuthorDate: 2022-04-12 17:06:04 +0000 Commit: John Baldwin CommitDate: 2022-04-12 17:06:04 +0000 Remove check for __CC_SUPPORTS___FUNC__. __func__ is part of C99. PR: 263102 (exp-run) Reviewed by: brooks, imp, emaste Differential Revision: https://reviews.freebsd.org/D34801 --- sys/dev/ichsmb/ichsmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ichsmb/ichsmb.c b/sys/dev/ichsmb/ichsmb.c index 5354d5ca94c6..ca7c185ec73b 100644 --- a/sys/dev/ichsmb/ichsmb.c +++ b/sys/dev/ichsmb/ichsmb.c @@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$"); * Enable debugging by defining ICHSMB_DEBUG to a non-zero value. */ #define ICHSMB_DEBUG 0 -#if ICHSMB_DEBUG != 0 && defined(__CC_SUPPORTS___FUNC__) +#if ICHSMB_DEBUG != 0 #define DBG(fmt, args...) \ do { printf("%s: " fmt, __func__ , ## args); } while (0) #else