diff options
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r-- | sys/dev/syscons/scterm.c | 2 | ||||
-rw-r--r-- | sys/dev/syscons/scvidctl.c | 2 | ||||
-rw-r--r-- | sys/dev/syscons/syscons.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/syscons/scterm.c b/sys/dev/syscons/scterm.c index f174d10..99fad98 100644 --- a/sys/dev/syscons/scterm.c +++ b/sys/dev/syscons/scterm.c @@ -64,7 +64,7 @@ sc_clear_screen(scr_stat *scp) /* terminal emulator manager routines */ -static LIST_HEAD(, struct sc_term_sw) sc_term_list = +static LIST_HEAD(, sc_term_sw) sc_term_list = LIST_HEAD_INITIALIZER(sc_term_list); int diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 8eda6e6..8af13a0 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -768,7 +768,7 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct proc *p) return ENOIOCTL; } -static LIST_HEAD(, struct sc_renderer) sc_rndr_list = +static LIST_HEAD(, sc_renderer) sc_rndr_list = LIST_HEAD_INITIALIZER(sc_rndr_list); int diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index 4b98404..0c1d8e4 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -325,7 +325,7 @@ typedef void sc_term_notify_t(scr_stat *scp, int event); typedef int sc_term_input_t(scr_stat *scp, int c, struct tty *tp); typedef struct sc_term_sw { - LIST_ENTRY(struct sc_term_sw) link; + LIST_ENTRY(sc_term_sw) link; char *te_name; /* name of the emulator */ char *te_desc; /* description */ char *te_renderer; /* matching renderer */ @@ -395,7 +395,7 @@ typedef struct sc_renderer { char *name; int mode; sc_rndr_sw_t *rndrsw; - LIST_ENTRY(struct sc_renderer) link; + LIST_ENTRY(sc_renderer) link; } sc_renderer_t; extern struct linker_set scrndr_set; |