From nobody Thu Jan 09 18:09:54 2025 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 4YTXr22N39z5jkdS; Thu, 09 Jan 2025 18:09:54 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTXr21lKmz4YgP; Thu, 9 Jan 2025 18:09:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736446194; 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=YFKdvpSjij/5ZSuB2Ge2kG1PFg/FzZ7osHvnfS9RW+Q=; b=men6KtRMipXvYuNi+yVGkV5AzgeOmFM0hpVo9Opqe8eSBw21XW28e+htWe/m038DiR5CDx KU75hO3y1tGR1wyGRX8fYDQyd+YFDFDmH1TKqnSvRy6WHwWvQntzUsF1B5Jy3whiGSgHgZ DKdxImae6R1lA8m9DOXZuR9DbcjfQfuxHpIcuIzzv1yfcbEqq6sV8IisBb98LpFuSLFrFZ F2ovJ5pQN5QtEXiO9E36K9oZuWoYxTmI2JH6FneeE+0V6WU/gvnjdUUnfB7pGbxsszYU64 8vgRGVoQ/If6D0sOAeQ4a4YK1n4fJ4bBnJPuL31sAtARzM9mjX92f0vhddAwRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736446194; 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=YFKdvpSjij/5ZSuB2Ge2kG1PFg/FzZ7osHvnfS9RW+Q=; b=aDdVv6SMsFs8yizr2xa0BdeT1WS+LXhyZTj9Oo48ki5wJddfyFZmaFa1Evc20nTFlnLa6s zAIv1EP+UsVdUPveI23xPyDd+W7PJuTQiGu2TKBjD9ehnSg6Q33JglyGH4B5h8xt7P/TP1 5XPaZnFy4YmJrNt/HEStJV478AJiQc2sjvogpjDp+7f/CGxydgfZC0h7N4o+doduFF3sJR 74Zt6DaCnrT+wJEKiCo7WnzBMz5uk4Tq8pnNFMF5I28jk+aJPgvpOXptnjU1teOIT4J05F cx0Hx9/2v62d73lMsWJ2Qy4Zi4hxMmUxNNmpTZyRfkXEcIE7NN+xPDxCzQEViA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736446194; a=rsa-sha256; cv=none; b=IQvodC3GLMw3RADw9qiAAXON8+KrOH2TXbNlg/VVlNfFkTg6uoh1DpoB0WQDnrBKfOrSrH u9j0yFUgorwQW9TWIdDTPtDZSo6eAkgspKjXIgfVTtO3dDhrNofq7xEXY0Ho3rCojOAOkJ /b3y6QzKIkEhJTsPvBwiJAp08sySNUkj4qreDTgTYzAoHxWAYBnLQPAlgBF/9LO+zSiA7Z 5koo8ZbcuXR+h0Z3sUpvCzYTgOE4CHwRmlW8Q1wlWHvGUbmjucnC3FpD2jJyi4egefZheC fXLPliklCgBRJQbApiYetdOpsn8O3SSUw9hv59jwc/jHkZVMs3TowtopOF2wTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YTXr219Srzd9M; Thu, 09 Jan 2025 18:09:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 509I9sou005493; Thu, 9 Jan 2025 18:09:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 509I9sQY005490; Thu, 9 Jan 2025 18:09:54 GMT (envelope-from git) Date: Thu, 9 Jan 2025 18:09:54 GMT Message-Id: <202501091809.509I9sQY005490@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: d0d7fcbae420 - main - dumpon: Move the _Noreturn keyword before the return type 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: d0d7fcbae4207402b35f37cabe2bb5f30bec7c5d Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d0d7fcbae4207402b35f37cabe2bb5f30bec7c5d commit d0d7fcbae4207402b35f37cabe2bb5f30bec7c5d Author: John Baldwin AuthorDate: 2025-01-09 17:52:50 +0000 Commit: John Baldwin CommitDate: 2025-01-09 18:07:51 +0000 dumpon: Move the _Noreturn keyword before the return type This fixes a warning from GCC 14 when compiling with the native C11 _Noreturn rather than the older GNU C function attribute: sbin/dumpon/dumpon.c:73:1: error: '_Noreturn' is not at beginning of declaration [-Werror=old-style-declaration] 73 | static void _Noreturn | ^~~~~~ --- sbin/dumpon/dumpon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c index 46652d8471eb..e6c1634ff6fe 100644 --- a/sbin/dumpon/dumpon.c +++ b/sbin/dumpon/dumpon.c @@ -70,7 +70,7 @@ static int verbose; -static void _Noreturn +static _Noreturn void usage(void) { fprintf(stderr,