From nobody Sun Aug 21 11:29:09 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 4M9YD54vdkz4ZYpx; Sun, 21 Aug 2022 11:29:09 +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 4M9YD53PXjz3xCj; Sun, 21 Aug 2022 11:29:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081349; 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=JdkMS0xsjyWaVJjGRenGPtBWUZ45DvPkKPNGV4zgStc=; b=rrIrfZ6QRZ9an2nl/77NPciehdqOvtL2xzof4Rumh/a8ahkGdpAsVXwl9uz962n2Hep7iQ 3HVN7jA98RbPJ3kDHNLS56lKXAzVJDdybD7WZpe7tsjsEhoV1i7A4iDjBkjVOwZZjFErbS 6H5zFk3XUsnhxHGfdzFzPsTTJcEFVxU7jzMCAGZj30eVRncYfVsUeMw9zeIuoURHOxj7ET Uc15Zt5XTV5t1cWv4WTOGMR1VkBWlZU3BUwJuNEqUhG20ZZCczhxYAi/MJYFXTgRIJyHOd tmilP9Drh/+P38Z7bEvqHygvQaBNHT7627/zXJNCLFmVVj+7BYmjLiXNXgANXg== 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 4M9YD52V6kz1894; Sun, 21 Aug 2022 11:29:09 +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 27LBT92N004414; Sun, 21 Aug 2022 11:29:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27LBT9Kh004413; Sun, 21 Aug 2022 11:29:09 GMT (envelope-from git) Date: Sun, 21 Aug 2022 11:29:09 GMT Message-Id: <202208211129.27LBT9Kh004413@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: 894334abf436 - stable/13 - Adjust function definition in arm64's db_trace.c 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 894334abf436546f7e610538d80ab86407671c03 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081349; 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=JdkMS0xsjyWaVJjGRenGPtBWUZ45DvPkKPNGV4zgStc=; b=MuC21yQyxBP+C+bbQVyUJlGH2MiqGD7fpttBERJ4aeGWRxHbxSEbAloJU3ylYEXh/pOPXc MFHh7vMmNi9kmrS5D+Q7IWHk36hbp3z1eEyb3mGb33/tLfo5Bvhgwwo8VcXL055sO0iXw7 bcYMQphkquRsIKLIXm1xykdeckq95KrC9dLGumZuCB9sx8g5trc2bEL30k+KnHWlPo6hkA Nl9+53jJflVX9r9r6ND4MsDQ1q0NxSp265+jRiZI3rMVYZoABeH2xoXWLVLadLuxgPJqxA o5bM5NXSsxMKSeK+F62bPjZY21bv9KGMQlh3uvzLldD7nRqRyMiDfrDVM92Esw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661081349; a=rsa-sha256; cv=none; b=Y541QwjNh+MyplkFQNbKAoeSOU+DeVaMnUN0bwgtiFQA8szV7GLLdfIeJDEvi2HWLCU6zS cNo9d73lXujRK5bn7m2tWZqFnbAJpS8O5/iyHtmcpp9ex5xe5YXreT0swfYlPeBJZPS9gI elj5UvmkEyrstqn7pun4YLsPfbadkBfjfgXuv4fBwOtl6zDdKqxL5HeQNo/UzbA2JbLFIN gFUttSixQeOEqEYLPOCRQfIxd9oLExn9NyWqq2Ku02TC0cYXV27wJNsYIGe55JgAwSh1s6 T7i4TC3skJkFo6WlSaGLwNCzGRm0WWC1UkjEYV3oHACQ/lzbwKYrngKdcpKeeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=894334abf436546f7e610538d80ab86407671c03 commit 894334abf436546f7e610538d80ab86407671c03 Author: Dimitry Andric AuthorDate: 2022-08-15 18:03:39 +0000 Commit: Dimitry Andric CommitDate: 2022-08-21 11:13:31 +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 39850ce3bf02..e5f94cb5e18c 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();