Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2020 05:56:30 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366629 - head/sys/sys
Message-ID:  <202010120556.09C5uUrI091469@repo.freebsd.org>

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



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