From nobody Tue Feb 07 23:24:41 2023 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 4PBK3F5z4gz3nrRQ; Tue, 7 Feb 2023 23:24:41 +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 4PBK3F5Vrrz3s5f; Tue, 7 Feb 2023 23:24:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675812281; 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=h8xhtEgMZSVuiipN+ffSdYhVaFjUTeOvooxGx52P7lo=; b=ZbiibxE4tQTAge4itxeKbv3YenCFghsHResMGRciZglbv2TfXa7jtOuUDAh8zt0fQA3ciW 02h9xlRlPfK5M136D8GYafY0LbVw7tmLUtrxbUwUE5xkLX8Q5KC2SO/py364J3UUU6xcET 9+UQmAmN61ah/aqvOQjiqtQscvLYZCRJxJgmGkGsb76/iksrHsQAlNRokssuJOC1GLJMn/ U3lhu7yHpi2zN9JWiipVWh5Jraa6sqFj/SwG34bE5VnEpavJR1DkqmRwZjyhaFoo/ta00V p+aRINgwmMS1zPwH+c3HO88J+REecF+XWTGU9F09MG3kSflQ8GFgtxcD9kh7Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675812281; 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=h8xhtEgMZSVuiipN+ffSdYhVaFjUTeOvooxGx52P7lo=; b=Tpdq5QEuGVdsAeO1g10ifN5t3mXPYaP7fGvM2/M4+Pr8cHbrLn2vvKQtvqlqXNpWMkpr/K 0M3ZsYtLdlvaOWsnn/K1XdTlmQVj1ELZ5MKHmp6C/v8HNneAvAq9JkLwox0L9AYbt9viIq 2dg+hKGFVrGGiqxy34kEpDLtgONmz0v08nOd4mL/c62XEvoPFBTTjbEu0idJrzQ/id4xfd QJRdVmqUhgvAKjArxyPi5RiwifzjjrAf2Wsd+8nMTALHUsv3Sbz8PWSsw5G6U5F+IlR7/m umoTjSHKpeTw+Pr27qwFHbWBsBgiA77RbBcUYk+POs3eHl9SgM+5TZA/Af/crg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675812281; a=rsa-sha256; cv=none; b=TALC2aymUujtEsz9+1CDd4ud6ak8pZw2vcU/NaPY4nicKqd8YTlWvAkcocdwQyg869XI2l PDAydGMfIijhnx2Ab+KlQf1ua48eC1rlAv58WdsonHfXWmJxkO06xxuvklfblaeOB55wgf KCzQtQZjYIZIvzp+OaJL/2WoXFBkHnmBDE5LFol3i+V1CUMNKJ7GYQ2jg0zPmTQ4xup4mc 5Ba2EuihApBhUIJp2b74fZAXZVoNydtE7tKxg3ckiWqz0SI0ggnK5gEUwP9z2v2ZC23XyR ol8uxcgzxDm63dz3K2t0kRoqM+dawaKTI6NW0SZdmLYsXUMxmloTE3FwfUi8XA== 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 4PBK3F4YH0zZkD; Tue, 7 Feb 2023 23:24:41 +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 317NOfAp010132; Tue, 7 Feb 2023 23:24:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 317NOfLt010130; Tue, 7 Feb 2023 23:24:41 GMT (envelope-from git) Date: Tue, 7 Feb 2023 23:24:41 GMT Message-Id: <202302072324.317NOfLt010130@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 724240c6fa24 - main - udf: ansify 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 724240c6fa249e03762cee62a95405105bd69ebe Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=724240c6fa249e03762cee62a95405105bd69ebe commit 724240c6fa249e03762cee62a95405105bd69ebe Author: Mateusz Guzik AuthorDate: 2023-02-07 23:24:24 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-07 23:24:24 +0000 udf: ansify Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/fs/udf/osta.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/fs/udf/osta.c b/sys/fs/udf/osta.c index 70a22d933652..b9d358b5aced 100644 --- a/sys/fs/udf/osta.c +++ b/sys/fs/udf/osta.c @@ -211,9 +211,7 @@ static unsigned short crc_table[256] = { }; unsigned short -udf_cksum(s, n) - unsigned char *s; - int n; +udf_cksum(unsigned char *s, int n) { unsigned short crc=0; @@ -224,9 +222,7 @@ udf_cksum(s, n) /* UNICODE Checksum */ unsigned short -udf_unicode_cksum(s, n) - unsigned short *s; - int n; +udf_unicode_cksum(unsigned short *s, int n) { unsigned short crc=0;