summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
parentef62fda8f2253b04886159b1e9107fe71b2627db (diff)
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/tc/cfb.c12
-rw-r--r--sys/arch/alpha/tc/sfb.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c
index bb60d6002a8..16a717ccda5 100644
--- a/sys/arch/alpha/tc/cfb.c
+++ b/sys/arch/alpha/tc/cfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfb.c,v 1.22 2010/12/26 15:40:58 miod Exp $ */
+/* $OpenBSD: cfb.c,v 1.23 2013/10/20 20:07:22 miod Exp $ */
/* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */
/*
@@ -107,11 +107,11 @@ static int cfb_show_screen(void *, void *, int,
void (*) (void *, int, int), void *);
struct wsdisplay_accessops cfb_accessops = {
- cfbioctl,
- cfbmmap,
- cfb_alloc_screen,
- cfb_free_screen,
- cfb_show_screen,
+ .ioctl = cfbioctl,
+ .mmap = cfbmmap,
+ .alloc_screen = cfb_alloc_screen,
+ .free_screen = cfb_free_screen,
+ .show_screen = cfb_show_screen
};
int
diff --git a/sys/arch/alpha/tc/sfb.c b/sys/arch/alpha/tc/sfb.c
index 3766994c714..fb165b5607c 100644
--- a/sys/arch/alpha/tc/sfb.c
+++ b/sys/arch/alpha/tc/sfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sfb.c,v 1.20 2010/12/26 15:40:58 miod Exp $ */
+/* $OpenBSD: sfb.c,v 1.21 2013/10/20 20:07:22 miod Exp $ */
/* $NetBSD: sfb.c,v 1.7 1996/12/05 01:39:44 cgd Exp $ */
/*
@@ -110,11 +110,11 @@ void sfb_unblank(struct sfb_devconfig *);
#endif
struct wsdisplay_accessops sfb_accessops = {
- sfbioctl,
- sfbmmap,
- sfb_alloc_screen,
- sfb_free_screen,
- sfb_show_screen,
+ .ioctl = sfbioctl,
+ .mmap = sfbmmap,
+ .alloc_screen = sfb_alloc_screen,
+ .free_screen = sfb_free_screen,
+ .show_screen = sfb_show_screen
};
int