aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-02-07 23:24:24 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-04-09 15:40:39 +0000
commitc53ea2f3481b7159d3a91f67dc24f357fa64c337 (patch)
treef600cbcb713a5fc70d66ca115cb747853063f727
parentb14680d4d707cace67e724bd10796e8fe18c9b8a (diff)
downloadsrc-c53ea2f3481b7159d3a91f67dc24f357fa64c337.tar.gz
src-c53ea2f3481b7159d3a91f67dc24f357fa64c337.zip
udf: ansify
Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 724240c6fa249e03762cee62a95405105bd69ebe)
-rw-r--r--sys/fs/udf/osta.c8
1 files 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;