Author: imp
Date: Mon Oct 12 05:56:29 2020
New Revision: 366629
URL: https://svnweb.freebsd.org/changeset/base/366629

Log:
  systm.h: forward declare ucred for _STANDALONE too
  
  There's a number of types we forward declare for the kernel. We need
  struct ucred for the ZSTD ZFS integration, so go ahead and forward
  declare it here too.

Modified:
  head/sys/sys/systm.h

Modified: head/sys/sys/systm.h
==============================================================================
--- head/sys/sys/systm.h        Sun Oct 11 16:01:16 2020        (r366628)
+++ head/sys/sys/systm.h        Mon Oct 12 05:56:29 2020        (r366629)
@@ -124,6 +124,7 @@ void        vpanic(const char *, __va_list) __dead2 
__printfl
 
 
 #if defined(_STANDALONE)
+struct ucred;
 /*
  * Until we have more experience with KASSERTS that are called
  * from the boot loader, they are off. The bootloader does this
_______________________________________________
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