From cb0beb9e23e4db36a74e193ed6185d54168607e7 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 26 Aug 2017 18:30:08 +0000 Subject: [PATCH] Forward declare struct dsk to avoid warnings when building libi386. Sponsored by: Netflix --- sys/boot/geli/geliboot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/boot/geli/geliboot.h b/sys/boot/geli/geliboot.h index 51d425dee3fa..788b82c574ac 100644 --- a/sys/boot/geli/geliboot.h +++ b/sys/boot/geli/geliboot.h @@ -48,6 +48,8 @@ extern void pwgets(char *buf, int n, int hide); +struct dsk; + void geli_init(void); int geli_taste(int read_func(void *vdev, void *priv, off_t off, void *buf, size_t bytes), struct dsk *dsk, daddr_t lastsector);