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)
 {
 
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to