svn commit: r366629 - head/sys/sys

Warner Losh imp at FreeBSD.org
Mon Oct 12 05:56:30 UTC 2020


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


More information about the svn-src-head mailing list