diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 20:07:32 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-10-20 20:07:32 +0000 |
commit | 18c58937b130d1a2db44d6c3d473a90949843503 (patch) | |
tree | f3060b2bced081991252774ec62653771951673e /sys/arch/hp300 | |
parent | ef62fda8f2253b04886159b1e9107fe71b2627db (diff) |
Use C99 named initializers for struct wsdisplay_accessops fields.
No functional change.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/dvbox.c | 17 | ||||
-rw-r--r-- | sys/arch/hp300/dev/gbox.c | 17 | ||||
-rw-r--r-- | sys/arch/hp300/dev/hyper.c | 17 | ||||
-rw-r--r-- | sys/arch/hp300/dev/rbox.c | 17 | ||||
-rw-r--r-- | sys/arch/hp300/dev/topcat.c | 17 | ||||
-rw-r--r-- | sys/arch/hp300/dev/tvrx.c | 17 |
6 files changed, 42 insertions, 60 deletions
diff --git a/sys/arch/hp300/dev/dvbox.c b/sys/arch/hp300/dev/dvbox.c index 1607cda0379..f4ec5c4250a 100644 --- a/sys/arch/hp300/dev/dvbox.c +++ b/sys/arch/hp300/dev/dvbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvbox.c,v 1.13 2006/08/11 18:33:13 miod Exp $ */ +/* $OpenBSD: dvbox.c,v 1.14 2013/10/20 20:07:22 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -126,15 +126,12 @@ int dvbox_ioctl(void *, u_long, caddr_t, int, struct proc *); void dvbox_burner(void *, u_int, u_int); struct wsdisplay_accessops dvbox_accessops = { - dvbox_ioctl, - diofb_mmap, - diofb_alloc_screen, - diofb_free_screen, - diofb_show_screen, - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - dvbox_burner + .ioctl = dvbox_ioctl, + .mmap = diofb_mmap, + .alloc_screen = diofb_alloc_screen, + .free_screen = diofb_free_screen, + .show_screen = diofb_show_screen, + .burn_screen = dvbox_burner }; /* diff --git a/sys/arch/hp300/dev/gbox.c b/sys/arch/hp300/dev/gbox.c index a4d701fd5d6..8ed94cb7751 100644 --- a/sys/arch/hp300/dev/gbox.c +++ b/sys/arch/hp300/dev/gbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gbox.c,v 1.15 2007/01/07 15:13:52 miod Exp $ */ +/* $OpenBSD: gbox.c,v 1.16 2013/10/20 20:07:22 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -130,15 +130,12 @@ int gbox_ioctl(void *, u_long, caddr_t, int, struct proc *); void gbox_burner(void *, u_int, u_int); struct wsdisplay_accessops gbox_accessops = { - gbox_ioctl, - diofb_mmap, - diofb_alloc_screen, - diofb_free_screen, - diofb_show_screen, - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - gbox_burner + .ioctl = gbox_ioctl, + .mmap = diofb_mmap, + .alloc_screen = diofb_alloc_screen, + .free_screen = diofb_free_screen, + .show_screen = diofb_show_screen, + .burn_screen = gbox_burner }; /* 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 }; /* diff --git a/sys/arch/hp300/dev/rbox.c b/sys/arch/hp300/dev/rbox.c index b18db52aaaf..91e7ca353a7 100644 --- a/sys/arch/hp300/dev/rbox.c +++ b/sys/arch/hp300/dev/rbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbox.c,v 1.14 2006/08/11 18:33:13 miod Exp $ */ +/* $OpenBSD: rbox.c,v 1.15 2013/10/20 20:07:23 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat @@ -126,15 +126,12 @@ int rbox_ioctl(void *, u_long, caddr_t, int, struct proc *); void rbox_burner(void *, u_int, u_int); struct wsdisplay_accessops rbox_accessops = { - rbox_ioctl, - diofb_mmap, - diofb_alloc_screen, - diofb_free_screen, - diofb_show_screen, - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - rbox_burner + .ioctl = rbox_ioctl, + .mmap = diofb_mmap, + .alloc_screen = diofb_alloc_screen, + .free_screen = diofb_free_screen, + .show_screen = diofb_show_screen, + .burn_screen = rbox_burner }; /* diff --git a/sys/arch/hp300/dev/topcat.c b/sys/arch/hp300/dev/topcat.c index 0ce35491aea..46d7607dfee 100644 --- a/sys/arch/hp300/dev/topcat.c +++ b/sys/arch/hp300/dev/topcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: topcat.c,v 1.16 2013/09/28 21:10:58 miod Exp $ */ +/* $OpenBSD: topcat.c,v 1.17 2013/10/20 20:07:23 miod Exp $ */ /* * Copyright (c) 2005, Miodrag Vallat. @@ -129,15 +129,12 @@ int topcat_ioctl(void *, u_long, caddr_t, int, struct proc *); void topcat_burner(void *, u_int, u_int); struct wsdisplay_accessops topcat_accessops = { - topcat_ioctl, - diofb_mmap, - diofb_alloc_screen, - diofb_free_screen, - diofb_show_screen, - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - topcat_burner + .ioctl = topcat_ioctl, + .mmap = diofb_mmap, + .alloc_screen = diofb_alloc_screen, + .free_screen = diofb_free_screen, + .show_screen = diofb_show_screen, + .burn_screen = topcat_burner }; /* diff --git a/sys/arch/hp300/dev/tvrx.c b/sys/arch/hp300/dev/tvrx.c index 2772412a437..5403d792fd6 100644 --- a/sys/arch/hp300/dev/tvrx.c +++ b/sys/arch/hp300/dev/tvrx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tvrx.c,v 1.2 2011/12/30 12:47:19 miod Exp $ */ +/* $OpenBSD: tvrx.c,v 1.3 2013/10/20 20:07:23 miod Exp $ */ /* * Copyright (c) 2006, 2011, Miodrag Vallat. @@ -135,15 +135,12 @@ int tvrx_ioctl(void *, u_long, caddr_t, int, struct proc *); void tvrx_burner(void *, u_int, u_int); struct wsdisplay_accessops tvrx_accessops = { - tvrx_ioctl, - diofb_mmap, - diofb_alloc_screen, - diofb_free_screen, - diofb_show_screen, - NULL, /* load_font */ - NULL, /* scrollback */ - NULL, /* getchar */ - tvrx_burner + .ioctl = tvrx_ioctl, + .mmap = diofb_mmap, + .alloc_screen = diofb_alloc_screen, + .free_screen = diofb_free_screen, + .show_screen = diofb_show_screen, + .burn_screen = tvrx_burner }; /* |