summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hyper.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-20 20:07:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-20 20:07:32 +0000
commit18c58937b130d1a2db44d6c3d473a90949843503 (patch)
treef3060b2bced081991252774ec62653771951673e /sys/arch/hp300/dev/hyper.c
parentef62fda8f2253b04886159b1e9107fe71b2627db (diff)
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/arch/hp300/dev/hyper.c')
-rw-r--r--sys/arch/hp300/dev/hyper.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/arch/hp300/dev/hyper.c b/sys/arch/hp300/dev/hyper.c
index 06fe98c6a42..42dabf6a72a 100644
--- a/sys/arch/hp300/dev/hyper.c
+++ b/sys/arch/hp300/dev/hyper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hyper.c,v 1.15 2006/04/14 21:05:43 miod Exp $ */
+/* $OpenBSD: hyper.c,v 1.16 2013/10/20 20:07:22 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat.
@@ -117,15 +117,12 @@ int hyper_ioctl(void *, u_long, caddr_t, int, struct proc *);
void hyper_burner(void *, u_int, u_int);
struct wsdisplay_accessops hyper_accessops = {
- hyper_ioctl,
- diofb_mmap,
- diofb_alloc_screen,
- diofb_free_screen,
- diofb_show_screen,
- NULL, /* load_font */
- NULL, /* scrollback */
- NULL, /* getchar */
- hyper_burner
+ .ioctl = hyper_ioctl,
+ .mmap = diofb_mmap,
+ .alloc_screen = diofb_alloc_screen,
+ .free_screen = diofb_free_screen,
+ .show_screen = diofb_show_screen,
+ .burn_screen = hyper_burner
};
/*