svn commit: r367697 - head/sys/sys

Mateusz Guzik mjg at FreeBSD.org
Sat Nov 14 19:56:12 UTC 2020


Author: mjg
Date: Sat Nov 14 19:56:11 2020
New Revision: 367697
URL: https://svnweb.freebsd.org/changeset/base/367697

Log:
  cred: annotate credbatch_process argument as unused
  
  Fixes libprocstat compilation as zfs defines _KERNEL.

Modified:
  head/sys/sys/ucred.h

Modified: head/sys/sys/ucred.h
==============================================================================
--- head/sys/sys/ucred.h	Sat Nov 14 19:23:07 2020	(r367696)
+++ head/sys/sys/ucred.h	Sat Nov 14 19:56:11 2020	(r367697)
@@ -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)
 {
 
 }


More information about the svn-src-head mailing list