From nobody Sun Aug 21 11:29:40 2022 X-Original-To: dev-commits-src-branches@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 4M9YDj14Vyz4ZYkx; Sun, 21 Aug 2022 11:29:41 +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 4M9YDj0Mf2z40cG; Sun, 21 Aug 2022 11:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081381; 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=xATdkxj+Vnxl4isaDA5n8nkKw0BAar95COzgVEZ8Csk=; b=LNAJb779L49kLa9vzKqHI26IB7jA9jxx2tgp7EqA0eU00SBgdLRfpBe3zf53wlNo0mA9/a Ris7BLotrHulwOfE29RzGEWmRrvD9uBeOAsxagZKQRiJKdDfILHu+z/9oplbrznwA2AUXT 7EfNp0yqukAQ1k4iQb4zLZtdmCgmvzhn7M9ZOmtNSJC2vGOrE0TJH7SUEbztmgQTnkcqzZ tp2eRJU/gxFe7+KyomtKx9KGx93By28ZbVGZ2IWQTBPCA8cXLD3LvGk4xS3SZ+WyioJdGg LwxOMdPs+uXrUwhUYnnluu7IoPlKDRLSD4MUK8uSwwTl8IQLgHaJ2i4XJ6likw== 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 4M9YDh6XcRz17pD; Sun, 21 Aug 2022 11:29:40 +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 27LBTeCJ005227; Sun, 21 Aug 2022 11:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27LBTeWR005226; Sun, 21 Aug 2022 11:29:40 GMT (envelope-from git) Date: Sun, 21 Aug 2022 11:29:40 GMT Message-Id: <202208211129.27LBTeWR005226@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: d7e6bfa4e6b1 - stable/12 - Adjust function definition in arm64's db_trace.c to avoid clang 15 warning List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/12 X-Git-Reftype: branch X-Git-Commit: d7e6bfa4e6b1f12441d57dd1bb3c664ee65b68c0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081381; 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=xATdkxj+Vnxl4isaDA5n8nkKw0BAar95COzgVEZ8Csk=; b=A3KV5oVvPaFkM5AyAY0sc3x24Ii6i2IN6NdiSag6RfCPkPGH59OpGFecm4m+T8NxF+hxAH dOYJX4i9ZyD3BU+aX+vEsDKQjsJfuDRkSltzjLxKjkT9m4VOtCgF4UBxLg7glBnfP5E7UI slV3Cb21eU62ZYOkB33vlXOwbvDmNL1iUWwOfQHOMAPhBkEGiTltE/kyF8i8hGk6fxEyio 9VYTgsQ6s0nAKECy+dO5b8y8TW/far0OKMcLDDtl7HibZ7aN2/UoSn5BmiA4WoPc+E/b7P PKIKnc2t3KcRwR++xboDZUeuQ7M8C8pGsMryqRCmNl8bgpcUpJ1sYe2vnSuVJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661081381; a=rsa-sha256; cv=none; b=Sx0u9xWujG7vduKyQjFHJvAGhDHA8+0UOTclEepNUp08bjgYaeF3MUBVD1JsbpusxuZl3B z8PY1+S++8xAXthaHQuokku4LWOGFRcXSAudo0/6PG9mhVZW6eY2TkDBRIxwywLNDfTEhP d8P9hh+7R6BMjtUYrJFni7zdsBCRts+VoEta3IBC2r0SoKeyIhPXT10Km/1V+WcV1TLrEf cNQt/1QFGhldOrNeiF1Iuzu91CXwdfdyN98xvZ1TZTgzeA+e5z1ur45i4omzpLPJXA8abt hczGX8tXoRDk54XZVLiz5E0fB8jPAwUxp5KSzJG+gOvroOXPSiG+2d4ov1+gtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=d7e6bfa4e6b1f12441d57dd1bb3c664ee65b68c0 commit d7e6bfa4e6b1f12441d57dd1bb3c664ee65b68c0 Author: Dimitry Andric AuthorDate: 2022-08-15 18:03:39 +0000 Commit: Dimitry Andric CommitDate: 2022-08-21 11:20:41 +0000 Adjust function definition in arm64's db_trace.c to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/arm64/arm64/db_trace.c:53:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] db_md_list_watchpoints() ^ void This is because db_md_list_watchpoints() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. MFC after: 3 days (cherry picked from commit 940740891516c31a993cb0d267bd19f2d07ede49) --- sys/arm64/arm64/db_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/db_trace.c b/sys/arm64/arm64/db_trace.c index 82b6e07fc261..4c0b7a2c2e06 100644 --- a/sys/arm64/arm64/db_trace.c +++ b/sys/arm64/arm64/db_trace.c @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #include void -db_md_list_watchpoints() +db_md_list_watchpoints(void) { dbg_show_watchpoint();