summaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-11-14 19:56:11 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-11-14 19:56:11 +0000
commit6b45dbe56c38165cd1af35a4e9b82208c5e7d534 (patch)
tree8befb94847fe8f0cbd0ee622a76a41d889fb099f /sys/sys
parent5596f836e7e04a272113e57b3a80f1f67c0fec7f (diff)
downloadsrc-test2-6b45dbe56c38165cd1af35a4e9b82208c5e7d534.tar.gz
src-test2-6b45dbe56c38165cd1af35a4e9b82208c5e7d534.zip
cred: annotate credbatch_process argument as unused
Fixes libprocstat compilation as zfs defines _KERNEL.
Notes
Notes: svn path=/head/; revision=367697
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/ucred.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h
index 5381901b505d..153f7b42402a 100644
--- a/sys/sys/ucred.h
+++ b/sys/sys/ucred.h
@@ -129,7 +129,7 @@ credbatch_prep(struct credbatch *crb)
}
void credbatch_add(struct credbatch *crb, struct thread *td);
static inline void
-credbatch_process(struct credbatch *crb)
+credbatch_process(struct credbatch *crb __unused)
{
}