From b0b7628145e18d4421eaa259925eae5b408cfd6e Mon Sep 17 00:00:00 2001 From: uch Date: Sun, 8 Jul 2001 10:42:37 +0000 Subject: [PATCH] remove redundunt header include and function declaration. (pointed by MAEKAWA Masahide.) --- sys/arch/hpcsh/hpcsh/conf.c | 12 +----------- sys/arch/hpcsh/hpcsh/console.c | 9 ++------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/sys/arch/hpcsh/hpcsh/conf.c b/sys/arch/hpcsh/hpcsh/conf.c index 83d8e21ab328..90dc899ee977 100644 --- a/sys/arch/hpcsh/hpcsh/conf.c +++ b/sys/arch/hpcsh/hpcsh/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.5 2001/04/11 20:13:52 uch Exp $ */ +/* $NetBSD: conf.c,v 1.6 2001/07/08 10:42:37 uch Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -125,24 +125,14 @@ cdev_decl(wsmux); /* misc */ #include "rnd.h" -/* SH specific */ -#define scicnpollc nullcnpollc -cons_decl(sci); -#define scifcnpollc nullcnpollc -cons_decl(scif); -cons_decl(com); - #include "sci.h" cdev_decl(sci); #include "scif.h" cdev_decl(scif); #include "com.h" cdev_decl(com); - #include "biconsdev.h" cdev_decl(biconsdev); -#define biconscnpollc nullcnpollc -cons_decl(bicons); struct bdevsw bdevsw[] = { diff --git a/sys/arch/hpcsh/hpcsh/console.c b/sys/arch/hpcsh/hpcsh/console.c index 6b6d6a59d61c..33d7bde03983 100644 --- a/sys/arch/hpcsh/hpcsh/console.c +++ b/sys/arch/hpcsh/hpcsh/console.c @@ -1,4 +1,4 @@ -/* $NetBSD: console.c,v 1.4 2001/06/28 17:03:47 uch Exp $ */ +/* $NetBSD: console.c,v 1.5 2001/07/08 10:42:38 uch Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -46,9 +46,8 @@ #include #include -#include /* cdev_decl */ +#include #include /* consdev */ -#include #include @@ -71,18 +70,14 @@ /* serial console */ #define scicnpollc nullcnpollc -cdev_decl(sci); cons_decl(sci); #define scifcnpollc nullcnpollc -cdev_decl(scif); cons_decl(scif); -cdev_decl(com); cons_decl(com); /* builtin video console */ #if NBICONSDEV > 0 #define biconscnpollc nullcnpollc -cdev_decl(biconsdev); cons_decl(bicons); #endif