From nobody Tue Jul 19 19:13:49 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 4LnT5T4xJYz4Wq2J; Tue, 19 Jul 2022 19:13:49 +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 4LnT5T4RzNz4GRb; Tue, 19 Jul 2022 19:13:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658258029; 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=2botd1levlktbTlVFebWEbGCVoAfzIVhRlJ9FUnCE64=; b=PUw/+TqsLOTx6aBib+CPFZE5RzOBFlBNNkMj3mHqaQO+Z8h/DnkAGnQZi2CEbeWOEDGmGE hsPVdFCIPiANY+gmvxhBDJlVOfNFDZSJHnRDsyaVjFYF3EzHTUjQNRk8aQ41x3i57Hnlwu V1yi6MwAPMRivOhWjlcLyJYLt5Q29m+xR+nv8JDaP+MUnepSSqp/O7HiSBgUQiio9yeghl x/myyXdjsrgnqlevZl5bLe1i3AoDdemTLQmltslP4CS0++c8pDPpyXMygKoeIIzZGrfeI/ 0tyMRS8hfe85Qe1GNqDtVdccREavMi79xxcYzsX0Ws7CX8Z0mhp9MCfMHf1Tyw== 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 4LnT5T3X0DzW6L; Tue, 19 Jul 2022 19:13:49 +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 26JJDnJL072425; Tue, 19 Jul 2022 19:13:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26JJDnLA072424; Tue, 19 Jul 2022 19:13:49 GMT (envelope-from git) Date: Tue, 19 Jul 2022 19:13:49 GMT Message-Id: <202207191913.26JJDnLA072424@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: bd0e3cc2e710 - main - Adjust dtrace_getf_barrier() definition to avoid clang 15 warning 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: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd0e3cc2e71079f54785b7a395faf3a66426936e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658258029; 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=2botd1levlktbTlVFebWEbGCVoAfzIVhRlJ9FUnCE64=; b=HgCJpihbcN2vtBAAgR7o08PveiuIG0jeWWo15gFLkmJPXuvOKFxGzpQ1WvrRjZ2wFBhDEU d98XqLKGJFSDE2FD3/NkrTBqfYxNNvdVDdnNOspf2+IuPUXRUjGsDDIwOEZHJeRD/SJGvx YBvuzppU3iRT5qPJd+EUHCeDr0+26jD4WJaAapEoVvRXOCSsOfSTduH5yveFIpwwPX5DZJ F6hNkA8b0Hzvz4DbAyXteN3Em/Uj7f1XjL/hFalTY8d0bqsBdF7im1bJEuIo1iO9fC1+Zf EWIGd7zBAFOCevrcUtia7yt8LX7kF/RjsZvu6gt8wMf4Jv8MTOf4xBZaKt3DeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658258029; a=rsa-sha256; cv=none; b=Zdm0aW6pMNTX7he0iAhUKqgJ8z2CzqikJaNPBbb9S15HwTT9Weq2gm3Vbbk/0t8nhaJ0U1 Z4CqRiF2uAgkIFVrCs+wPMCLUrovezopshGNSxVtH66z48C2s33PthZjQTmPOuJ6+hieWn kx+t0jxEcHp+84sCsYNaChI/PFP0lU/ilGAnKwk2mnTmn5SNqXLb+U3LOEu9/lbdwq313F 3Yj/mLWIO3QP1c06TTUVAlsNQ7kkyjHuX0viCKiXMEXC97AbOHYKekRijKzrNRA/2nO3Of rnb14B68RTTx2umnUOvk5eMGpPuWcyckRP6QQRDRnef1L2x7pOdA/mJ3WUoqVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=bd0e3cc2e71079f54785b7a395faf3a66426936e commit bd0e3cc2e71079f54785b7a395faf3a66426936e Author: Dimitry Andric AuthorDate: 2022-07-19 18:46:18 +0000 Commit: Dimitry Andric CommitDate: 2022-07-19 18:46:18 +0000 Adjust dtrace_getf_barrier() definition to avoid clang 15 warning With clang 15, the following -Werror warnings is produced: sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:17019:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] dtrace_getf_barrier() ^ void This is because dtrace_getf_barrier() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. MFC after: 3 days --- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c index 76aaa0920f8a..0ef05717b904 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c +++ b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c @@ -17016,7 +17016,7 @@ dtrace_toxrange_add(uintptr_t base, uintptr_t limit) } static void -dtrace_getf_barrier() +dtrace_getf_barrier(void) { #ifdef illumos /*