aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-02-07 23:24:24 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-02-07 23:24:24 +0000
commit724240c6fa249e03762cee62a95405105bd69ebe (patch)
tree59f2a3c58f54c74acd1ce8363b23ae2e78f43b03 /sys/fs/udf
parent24641b8b3964e9015d3f8579b2359104bb0e5eea (diff)
downloadsrc-724240c6fa249e03762cee62a95405105bd69ebe.tar.gz
src-724240c6fa249e03762cee62a95405105bd69ebe.zip
udf: ansify
Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/fs/udf')
-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;