From b68cbfacca581e0615f8ab88c54e519733fe508c Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 16 Jun 2001 05:55:32 +0000 Subject: [PATCH] style(9) --- sys/boot/efi/libefi/efiboot.h | 41 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/sys/boot/efi/libefi/efiboot.h b/sys/boot/efi/libefi/efiboot.h index 5c7f43418ce..b1d7df03e21 100644 --- a/sys/boot/efi/libefi/efiboot.h +++ b/sys/boot/efi/libefi/efiboot.h @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - /* * Copyright (c) 1996 * Matthias Drochner. All rights reserved. @@ -30,38 +28,35 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * + * $FreeBSD$ */ /* * EFI fully-qualified device descriptor */ -struct efi_devdesc -{ - struct devsw *d_dev; - int d_type; -#define DEVT_NONE 0 -#define DEVT_DISK 1 -#define DEVT_NET 2 - union - { - struct - { - int unit; - int slice; - int partition; - } efidisk; - struct - { - int unit; /* XXX net layer lives over these? */ - } netif; - } d_kind; +struct efi_devdesc { + struct devsw *d_dev; + int d_type; +#define DEVT_NONE 0 +#define DEVT_DISK 1 +#define DEVT_NET 2 + union { + struct { + int unit; + int slice; + int partition; + } efidisk; + struct { + int unit; /* XXX net layer lives over these? */ + } netif; + } d_kind; }; extern int efi_getdev(void **vdev, const char *devspec, const char **path); extern char *efi_fmtdev(void *vdev); extern int efi_setcurrdev(struct env_var *ev, int flags, void *value); -#define MAXDEV 31 /* maximum number of distinct devices */ +#define MAXDEV 31 /* maximum number of distinct devices */ typedef unsigned long physaddr_t; -- 2.45.2