From nobody Mon Aug 15 18:49:18 2022 X-Original-To: dev-commits-src-main@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 4M63Gl3skPz4YXWC; Mon, 15 Aug 2022 18:49:19 +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 4M63Gl1Dxtz49k6; Mon, 15 Aug 2022 18:49:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660589359; 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=5QfXLymD3XJLj2ejEj5DxztJWloMRrzK+qKVEfg8VE8=; b=PUdpfgfGZYB8s6BTnbz/zN8AGXBJrSRamKaVvLRpNCcTJcqnOrTM7MvxXaG7PvPGxJLfLk VzceeBHQJ/nooqWRml+kc30JsVcypO9X3DhhLyRqC/rv1Lf05YBFbUoKmmDp956t49eNVL RtX4zcYVcBSZJl1GgSQ+LjRCnAc+0JzBftIMqsk8mhLUKCSe0Yco+brhqZCTlVkrZsbI+b jzMa1UPOqaKCEmXdFK6zWEbsWx5qZF34DkUotzGiD0rn6iBDZ3AEs5rgcO3VRbl9v+y5yB Xflu9wyPOpV6IaV9j3ozaKaYxHP5L6CQPA8i3fZfkVQ3KL4Yq1LaNh6uWsIYYQ== 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 4M63Gl0DlZzgBG; Mon, 15 Aug 2022 18:49:19 +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 27FInI6i027677; Mon, 15 Aug 2022 18:49:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27FInIjE027676; Mon, 15 Aug 2022 18:49:18 GMT (envelope-from git) Date: Mon, 15 Aug 2022 18:49:18 GMT Message-Id: <202208151849.27FInIjE027676@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: 940740891516 - main - Adjust function definition in arm64's db_trace.c to avoid clang 15 warning List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 940740891516c31a993cb0d267bd19f2d07ede49 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660589359; 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=5QfXLymD3XJLj2ejEj5DxztJWloMRrzK+qKVEfg8VE8=; b=c6giq9qPe96/hNFqxuKvIiJ41PjCWbbbfzqzkffi+6B2EZEWVcKMouyVuVLwDwA8oXiFJH d6Wor7iccwcFrIigATy57Lx3M8U0GBzKAOSsnT8lssmNQsq/r8dKEJWEjZBcfBrq/2r4tm 0W1HStLv79BO7jdYUBlAT+jcwobJgTuxrvH7vAstoil1yzVHeEdi76GPS6iQlMJGaY7yop 9GqUrF48eFpog8v4SkmdT7qGHIdwc9zuIycAqtkdj2KyrTZW8Cig43ww8lGZOYlmXCRUZy LKUoUrdQTHgB1/Ggz5UBUefkWwHiV0NbPl5XXrzGKgPu9ysn8zhE5MOAvCoaUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660589359; a=rsa-sha256; cv=none; b=YeKU35he0BMarYC28Z1qlcta3BRM5KSKSPhC8Y1aCbeE7cro3oxFHqMTxy7JeNjUm0rs1u +iMGHeGhMhqZLNcEe9DQWhfy3h80EhdoPdtuk6W3Q0IBGJ9VjRSzp7bdYf4WO2BC08q3wm 1UviNZr9fp4KrugcKJcneB6EcinsgoGvScm1hbPCESwZhiJTrjq7TLwLIVUul+ALNQW3LE +1+SS78hSr/qzGOKNco7uWayI8q29R27X//pRzZTfyIKKj/5ClkXsjkVzI9rVAHHahFH7c 6dwtFxl+U1np3wuiESdEjA8zMie+ke1LAPJgfKxBMdMcAO4o6v3faYNhWqe2cQ== 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=940740891516c31a993cb0d267bd19f2d07ede49 commit 940740891516c31a993cb0d267bd19f2d07ede49 Author: Dimitry Andric AuthorDate: 2022-08-15 18:03:39 +0000 Commit: Dimitry Andric CommitDate: 2022-08-15 18:48:33 +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 --- 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 9123f73079ef..4d68cd513bce 100644 --- a/sys/arm64/arm64/db_trace.c +++ b/sys/arm64/arm64/db_trace.c @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$"); #define FRAME_UNHANDLED 4 void -db_md_list_watchpoints() +db_md_list_watchpoints(void) { dbg_show_watchpoint();