Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2017 18:30:09 +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: r322937 - head/sys/boot/geli
Message-ID:  <201708261830.v7QIU9Fj099788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Aug 26 18:30:08 2017
New Revision: 322937
URL: https://svnweb.freebsd.org/changeset/base/322937

Log:
  Forward declare struct dsk to avoid warnings when building libi386.
  
  Sponsored by: Netflix

Modified:
  head/sys/boot/geli/geliboot.h

Modified: head/sys/boot/geli/geliboot.h
==============================================================================
--- head/sys/boot/geli/geliboot.h	Sat Aug 26 18:30:03 2017	(r322936)
+++ head/sys/boot/geli/geliboot.h	Sat Aug 26 18:30:08 2017	(r322937)
@@ -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);



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