git: c53ea2f3481b - stable/13 - udf: ansify
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 21:35:41 UTC
The branch stable/13 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=c53ea2f3481b7159d3a91f67dc24f357fa64c337
commit c53ea2f3481b7159d3a91f67dc24f357fa64c337
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-07 23:24:24 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 15:40:39 +0000
udf: ansify
Reported by: clang 15
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 724240c6fa249e03762cee62a95405105bd69ebe)
---
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;