From nobody Mon Aug 15 18:49:26 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 4M63Gv1db3z4YXWk; Mon, 15 Aug 2022 18:49:27 +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 4M63Gv0lqLz3BrZ; Mon, 15 Aug 2022 18:49:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660589367; 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=DolfThM2MihSEERpBlWE56FNCr7OxSSwLKCTbEBZemk=; b=Ee0OmJfe6jq+lFzLIHR7hAZpaaweqIfHz9HI5kwbcV1DwyrS7Pl4fHO2Tb0D7qHe7guXqd jRr7HyM0vzsccF9DzHQ7bZMjN8efypjbJTAm+cYVVXfIxgIXqeGsfVi5T9esAnZiztflt9 Npu0IAdonETF6VqRY9mAGkC6GjjPoOw63QAP27EONvvrbRhVIBkldAcCUk3/7V0axZPkEf l3XVXWT11Dj0cGTQpFwqdsUy7QAQQ2xQ3INqCCiLmENBJqPjOtinPyOVLyykhQi4jmDCYC OpoHwCMmkkLK9T3X6eDQvA4eBGssdSeO5xaSYksJUp4Thn+yMftlp4FVL0xhyQ== 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 4M63Gt6zX5zgBJ; Mon, 15 Aug 2022 18:49:26 +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 27FInQFK027854; Mon, 15 Aug 2022 18:49:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27FInQbm027853; Mon, 15 Aug 2022 18:49:26 GMT (envelope-from git) Date: Mon, 15 Aug 2022 18:49:26 GMT Message-Id: <202208151849.27FInQbm027853@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: ff490346fd51 - main - Adjust function definition in moea64_native.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/main X-Git-Reftype: branch X-Git-Commit: ff490346fd519501e9263988959ffb583013ccdb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660589367; 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=DolfThM2MihSEERpBlWE56FNCr7OxSSwLKCTbEBZemk=; b=e3HCCfiSLrTTJJKySnAFWiY+IC0Qb+PNVcTiiVBwHwaOVbV5Zbkmau57+M6u8CUWqypdXE pK77Adofe45jM5oKmcHrKYd1q9qep8aqFyCT/exCXSF15SXwm7uXWMx44JYjvT8LUqDWMS iIwbuht7ImblJH0wxmeq+Be53ZQ2jV8M5QA0weDjhTjmwN88q1llzSqxuat9rGTUIQCXff D1AEm2ywOshKKH0u+8Lwd1hb/48uM46JRecU1yOKkJ06mXDu9v9TLw3XeiENVFFgw8XBUd +bHcGTvTFCsyky30tn7w2WdrQAHMoruenTj2/wjEjoUG05H/XMe4oAbDd1gVbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660589367; a=rsa-sha256; cv=none; b=Y8JR2TOuCtGQaP2qE6pkJDpGDYQfnIUbvG6VIa8Q7HG/SdZDsXNjauXc0vsVyKB0wUHpDv 1HBHiQPeD3nEDrMCIUq3WlU2i1YaK/nP6L/Y/j4fohG+p3FCALOuQFiCWMn0CKRyreiiBn r1tNjWPNcBLVid5eu+VARP3dStTsf02PYTLFYnbwrVQSjMHkdIA4CYBT9iS0+pu5cXdR0S gA5RkBgxTkelcycQQaaaZOWy4KPMdbFTVhmMtrNCYOyPjPSGnxPl/dzE/Gw1toW+zyhCsn MwQFe21x61IjYSuC1gSBFa4Wu+ExkErRdlgPy6WtSi2EHADk+261DeXS8iUyGw== 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=ff490346fd519501e9263988959ffb583013ccdb commit ff490346fd519501e9263988959ffb583013ccdb Author: Dimitry Andric AuthorDate: 2022-08-15 18:44:30 +0000 Commit: Dimitry Andric CommitDate: 2022-08-15 18:48:35 +0000 Adjust function definition in moea64_native.c to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/powerpc/aim/moea64_native.c:306:22: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] moea64_install_native() ^ void This is because moea64_install_native() 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/powerpc/aim/moea64_native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/aim/moea64_native.c b/sys/powerpc/aim/moea64_native.c index 167c4ea064b1..4c0aa85a1912 100644 --- a/sys/powerpc/aim/moea64_native.c +++ b/sys/powerpc/aim/moea64_native.c @@ -303,7 +303,7 @@ static struct moea64_funcs moea64_native_funcs = { MMU_DEF_INHERIT(oea64_mmu_native, MMU_TYPE_G5, moea64_native_methods, oea64_mmu); static void -moea64_install_native() +moea64_install_native(void) { /* Install the MOEA64 ops. */