From nobody Mon Aug 01 18:10:31 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 4LxR4S0wvhz4XVWS; Mon, 1 Aug 2022 18:10:32 +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 4LxR4S0NzPz3jJn; Mon, 1 Aug 2022 18:10:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659377432; 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=1mrsWR8VHtElQ4ri/sspKY9tsn7MazPpywg75aech3I=; b=U7dQb421HzPKmih4q7jswkNJkpUNpeORgj/MwPCBYmJ/cWMcQDjAZUz5U8IwSFTpJWtTVo hxeJL0IrnXNocxCXMELJuu+cd4jANf4rhCzOlSik4IfVy3d+ns1o23FEbo9R5R7WfCDxXw rMIKe/Xl5sCfr3/gHNSj/ikOjeaLFupRy6Jy+h5unq0yQROxj9IeSzxOMA7DFkjQIRkUGQ f3A0Vt1OjfNb1euPT3b+elXEKGrjswQeNIV89M/uvRPmyUcP9szxj/r9zQqzJ+uNoVrQf7 QI+XSLvM+zKzqw2WXzUEkIGp76wh3f2e9nRIlDerwhXV1QYhXeObCo0XBNi8sw== 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 4LxR4R6H72zjM3; Mon, 1 Aug 2022 18:10:31 +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 271IAVD1044645; Mon, 1 Aug 2022 18:10:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 271IAVXV044644; Mon, 1 Aug 2022 18:10:31 GMT (envelope-from git) Date: Mon, 1 Aug 2022 18:10:31 GMT Message-Id: <202208011810.271IAVXV044644@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: 9c5d47763888 - stable/13 - Adjust function definition in isa's pnp.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: 9c5d47763888b30b92998af882566e464f272857 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659377432; 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=1mrsWR8VHtElQ4ri/sspKY9tsn7MazPpywg75aech3I=; b=n+Gtrr3bAj6RFuHz1XOPPzgcuH7hs5H7Zaq5M05ZCFr9Y0TgU//Vv91Jg67XB2TlihZ4tf hmVb4BTB0nRzc1sENZeeD9JRuOh8ObV921O3MZmst3QJoV0aVSwvVUNK2gLxxxxFcj5UCu vo4ZBdYjD3pnj6glMn0h/D+2LB6FW7Us6Su9dWOk4y8Bcn4wERccvddEKNFwlfx2a+tfOi fERC8iJzoWthUJfNzORLsB0gIfgsNVwKwuM1gwMGs6yjbgv2cMQferKbDM5SDQXfHMUd22 MPLKuCnRVqFN+zKfVXy+EUkjvQlZ10iuEapfS+BB+tPpZ6Iy9FOnpDSvEYhDNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659377432; a=rsa-sha256; cv=none; b=KB9HAe2MOQ2Sm5oMaCKoIxPZ6pemwYAnl5ayKwCUK7+Rzyp5KyG5RD7sUxjWfWiZkKoI3P TLq0Cg8Usd4tt7e6YpzT9dl9yBcFh3d3ZeBUQ5sZQXHbk0Aqil8zDRBRkxsiE44I9r6Mhd r0YA9kk27DElEW+03Gmo+pNhqQPQ8mrXedVUhgYDO3FgGXfBkQgCfB751zRpX4O7504kHe XYi6rlNcqwdNmuDygy7gAbWdU4hng63Rn5Z2EGxe2fL5LL/uoymJHXD+qQti/wTJ4ADQnG lsoRowHD2fAzPbWpKv9K114gsIdrSYd3tie8vvxi/5i/Qhjf69z/nElcyFS8pA== 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=9c5d47763888b30b92998af882566e464f272857 commit 9c5d47763888b30b92998af882566e464f272857 Author: Dimitry Andric AuthorDate: 2022-07-27 19:02:51 +0000 Commit: Dimitry Andric CommitDate: 2022-08-01 18:07:10 +0000 Adjust function definition in isa's pnp.c to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/isa/pnp.c:118:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pnp_send_initiation_key() ^ void This is because pnp_send_initiation_key() 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 24e8823ef579b99b32c00a7a126a78f91727498a) --- sys/isa/pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c index c2c66e08c208..768c2c4dd3ed 100644 --- a/sys/isa/pnp.c +++ b/sys/isa/pnp.c @@ -115,7 +115,7 @@ pnp_write(int d, u_char r) * Intel May 94. */ static void -pnp_send_initiation_key() +pnp_send_initiation_key(void) { int cur, i;