Date: Tue, 7 Feb 2023 23:24:41 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 724240c6fa24 - main - udf: ansify Message-ID: <202302072324.317NOfLt010130@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=724240c6fa249e03762cee62a95405105bd69ebe commit 724240c6fa249e03762cee62a95405105bd69ebe Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2023-02-07 23:24:24 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302072324.317NOfLt010130>