Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 19:56:12 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367697 - head/sys/sys
Message-ID:  <202011141956.0AEJuCqe075943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {
 
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011141956.0AEJuCqe075943>