summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/dev/impact.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-10-20 20:07:22 +0000
committermiod <miod@openbsd.org>2013-10-20 20:07:22 +0000
commit87eec24800bf38aec715b67f47fcee719f5f0827 (patch)
treec81d493ecffadf9fc933913928a14398602265e0 /sys/arch/sgi/dev/impact.c
parentRealmode park is causing more problems than it's solving. Remove until we (diff)
downloadwireguard-openbsd-87eec24800bf38aec715b67f47fcee719f5f0827.tar.xz
wireguard-openbsd-87eec24800bf38aec715b67f47fcee719f5f0827.zip
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/arch/sgi/dev/impact.c')
-rw-r--r--sys/arch/sgi/dev/impact.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/sys/arch/sgi/dev/impact.c b/sys/arch/sgi/dev/impact.c
index 6084a52e272..748f117880a 100644
--- a/sys/arch/sgi/dev/impact.c
+++ b/sys/arch/sgi/dev/impact.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: impact.c,v 1.3 2013/06/11 18:15:55 deraadt Exp $ */
+/* $OpenBSD: impact.c,v 1.4 2013/10/20 20:07:24 miod Exp $ */
/*
* Copyright (c) 2010, 2012 Miodrag Vallat.
@@ -122,16 +122,11 @@ int impact_show_screen(void *, void *, int, void (*)(void *, int, int),
static struct impact_screen impact_cons;
struct wsdisplay_accessops impact_accessops = {
- impact_ioctl,
- impact_mmap,
- impact_alloc_screen,
- impact_free_screen,
- impact_show_screen,
- NULL, /* load_font */
- NULL, /* scrollback */
- NULL, /* getchar */
- NULL, /* burner */
- NULL /* pollc */
+ .ioctl = impact_ioctl,
+ .mmap = impact_mmap,
+ .alloc_screen = impact_alloc_screen,
+ .free_screen = impact_free_screen,
+ .show_screen = impact_show_screen
};
int