git: 724240c6fa24 - main - udf: ansify

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 23:24:41 UTC
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;