From nobody Sat Jul 23 08:58:12 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 4LqgFK1tBbz4X6gQ; Sat, 23 Jul 2022 08:58:13 +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 4LqgFJ6NjHz3cv2; Sat, 23 Jul 2022 08:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658566692; 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=OA5cueuDmMqOSi0wTya1BuvmKvvHGZfGQCHIKRs/79Y=; b=CzvS1qwWkWoOZneByZ1scVCjq5eumxTCmf1HTJ7X/UewrDUHCGNE2/Tqp2Q99ZtpsQ4U2B +r3uLoSeFsVR6w3iyvj5TV92jTq3IFnrYoLjAuWD5eMvtNFKI9XeU0lbH44tHnL9uqY294 ymmN8JorAXUhdZsNvuJmL3eIhwUShoD+wcf9GCJlRXunyVF3vH5TJY1R99/nvn0nbY8JER xi5oflYvBC4SHH1xsDx+kEwAcm2Mg9ZTv0lvtkO83jqesggcoz3KFmGYq+8cNmHbTfp/np 68WFn+0QieL3qRlfyPJHWVHyMniGZ1cSOq7XGWsdeh8RwyJEx9NMX9WAA1LcOw== 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 4LqgFJ5V5TzYql; Sat, 23 Jul 2022 08:58:12 +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 26N8wCPP012502; Sat, 23 Jul 2022 08:58:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26N8wCHn012501; Sat, 23 Jul 2022 08:58:12 GMT (envelope-from git) Date: Sat, 23 Jul 2022 08:58:12 GMT Message-Id: <202207230858.26N8wCHn012501@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: 09ed6ce409aa - stable/13 - Adjust fbd_list() definition 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: 09ed6ce409aa29b10e7fa03c105476130036a678 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658566692; 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=OA5cueuDmMqOSi0wTya1BuvmKvvHGZfGQCHIKRs/79Y=; b=SrpI5q2eoY+zRT6HhXZbhne+TyfIEDmM2wTpCPSxBw4mnyIq9QGiHspVoCmOBvuIIz54IT 4UCNzJDNdyajd4ytpWIku+I5zcAO7OIaWw8qx1j6h5rQLqnAK0KDoHDpKObh1POiKoSkAi 1xsQ2wpOgbSPfsjfmNLLTVeCge8rKBH6hdPJwrOz7BXTAf4xA+9lCQa+9wxzmVUBloHhpU YwL+Z6IrGwR8iZUb37wC9eMhN75laY7hIrEgavJPavs4fXUyHa+l3vxn98epWN8c+cghlt Tu7i6QPCgrl/H7n2QL16yDIvqq6owWz8oCgNTPkTG0hqHH40XoCvOKsPvH543g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658566692; a=rsa-sha256; cv=none; b=SK6nXVrJdAiG/N8HCmyCdGW4r/8NI1YeX9XjPtUH3jyt6vgNxLtDyBQaxOfZ1Z2nnHMVU0 vvVaMUwBiuqMLIw7KyztaD4OITPnjpWEjxCoEEFxnARA2QLeHjpmAqmLVD0XD4GqOANw/D 3Y1o+kYBPIClFL5snmUeZGkfnZHbSSl7ILFG2VjXru+4jWih0lkY8oeHQkhj1cD+Nvn5xc mmrOZ2x/0nV/G/BeIcjaC8RRkIAazlCyfMP6FR2bdWBtj6lMvwtwqak7VLfWei0ltYp9Ua m5LxLHS0JzBifECi3RuV5agq26g8nIR+oroKK3ps1OzA49ixnyXcILFa1exFkQ== 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=09ed6ce409aa29b10e7fa03c105476130036a678 commit 09ed6ce409aa29b10e7fa03c105476130036a678 Author: Dimitry Andric AuthorDate: 2022-07-19 18:35:37 +0000 Commit: Dimitry Andric CommitDate: 2022-07-23 08:56:43 +0000 Adjust fbd_list() definition to avoid clang 15 warning With clang 15, the following -Werror warnings is produced: sys/dev/fb/fbd.c:205:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] fbd_list() ^ void This is because fbd_list() 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 9863e501c8d482dc47e856a2778dc3cbf6eb6d22) --- sys/dev/fb/fbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c index e577768eafdb..ce7c0b711eba 100644 --- a/sys/dev/fb/fbd.c +++ b/sys/dev/fb/fbd.c @@ -202,7 +202,7 @@ fb_init(struct fb_list_entry *entry, int unit) } int -fbd_list() +fbd_list(void) { struct fb_list_entry *entry;