From nobody Sun Aug 21 11:29:19 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 4M9YDJ08Pqz4ZYht; Sun, 21 Aug 2022 11:29:20 +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 4M9YDH5tvJz3y0B; Sun, 21 Aug 2022 11:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081359; 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=7l5rCwOGfItplho6IsBrDj42SOLNQbi8QrjAT5csZ5M=; b=Lk7o1kgdifhDfgtuw9kOnKSA+qOg7AyyJCBPH40Bizgh0ZJpsMLuCXpzOFJK2r1h3avNx3 m+Rf2EShH2dmG4lr6yff8s7y3aR0h751t6Dvg+lt/NpdKNS+g9gHFFzTbFY8vNVSI4P315 3IQMuKfYLzqiYZ0QwqOMp+DfDDreJTB7YjQGa9SlDdP/IyUo8TjWO1p5djqu3nbksQEmnA GiEXxMiahvI8SJAeMFDaJUzwCV1jNMkz/7eYKbTVcILp6RVSlwXmQjvOe0bEA6IcgT2xO2 +6x4zIoT8nfECfg5sYHjcyqEqFYhwUGqG6r51q1LuKMgf91/ecPYaY2bNlf1WQ== 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 4M9YDH4vJmz18KV; Sun, 21 Aug 2022 11:29: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 27LBTJe3004656; Sun, 21 Aug 2022 11:29:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27LBTJcH004655; Sun, 21 Aug 2022 11:29:19 GMT (envelope-from git) Date: Sun, 21 Aug 2022 11:29:19 GMT Message-Id: <202208211129.27LBTJcH004655@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: 9ae1196cfa18 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 9ae1196cfa187dd705156e3da72a384f39ebe714 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661081359; 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=7l5rCwOGfItplho6IsBrDj42SOLNQbi8QrjAT5csZ5M=; b=Fwmp1+zwGyopKb7mAr2eOTKI/Cuftaza5ISaGwhS9h7Ltir+PbrYw2NwCzZI14pWSxGxi7 bMmjVshmzDnjqlKLQ+vy6QDQGi8jQ0MioqWkLebcRMz8xAFETTcY0VUhA8ggUaSb4Qar6k 0vz51sZiVRRtaqg694h+wEDXLVwrtZEXyaFs7RBgFFjChumQOZf3Aos6wvOnyg+HUKC16O jAe0IY5WRiQLCYjoawo3uWmrty0QPJo04dxBPTWrUpJ0HvSAcM1hBhv5gqViq8/nbSUg7l E8YyWPolvUMAkiW2BzsB4kD661WF9uRzkW/YdV2zVWmOgYXvSqVwY9ItSqGuIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661081359; a=rsa-sha256; cv=none; b=ad/9muwyioLTPvYHKAome1qD+EOhpzI2FiLqvj6UO81bAMK+nxagvRUoTp/bq2WCnfGNKJ O6KPMfxUSK1N0WW88YxDrWeBenzrtZcHni5Ev1WNRvC1cbVloAH36l+Kk6OECx9OxVx3+K mseJtc+jZV9VI8atRYmJm3PPSqbZetIapTCrZ3lwWbD6efTvXpFp3A1eFpJtIop97NK8nB fqnOvvJU6iVccVI4WjY9vxjvyXJ6eRSBcOErCTafsUTy4LFDy2ySsBAVGyUdhXtjvKfj/z tMQopBBCCKf6dKRW/dwfTJMFoGIwmTIqd0cwOqgNBnX7gL2TnnhSNsEkXXiqFA== 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=9ae1196cfa187dd705156e3da72a384f39ebe714 commit 9ae1196cfa187dd705156e3da72a384f39ebe714 Author: Dimitry Andric AuthorDate: 2022-08-15 18:44:30 +0000 Commit: Dimitry Andric CommitDate: 2022-08-21 11:16:43 +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 (cherry picked from commit ff490346fd519501e9263988959ffb583013ccdb) --- 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 a5837886a2a2..aff828a31d6a 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. */