diff options
author | Warner Losh <imp@FreeBSD.org> | 2020-10-12 05:56:29 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2020-10-12 05:56:29 +0000 |
commit | af928ad5626e76ab495ed7c51b13ad9a722ed4b6 (patch) | |
tree | f4cba67b35e927aeb00b8fbb467a427e98dac746 | |
parent | 7113afc84c0b68f1e531dbd6d57d024d868d11c0 (diff) | |
download | src-af928ad5626e76ab495ed7c51b13ad9a722ed4b6.tar.gz src-af928ad5626e76ab495ed7c51b13ad9a722ed4b6.zip |
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.
Notes
Notes:
svn path=/head/; revision=366629
-rw-r--r-- | sys/sys/systm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 1987b6568188..2699cf7660fa 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -124,6 +124,7 @@ void vpanic(const char *, __va_list) __dead2 __printflike(1, 0); #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 |