remove redundunt header include and function declaration.
(pointed by MAEKAWA Masahide.)
This commit is contained in:
parent
9e80e9aca3
commit
b0b7628145
|
@ -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[] =
|
||||
{
|
||||
|
|
|
@ -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 <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h> /* cdev_decl */
|
||||
#include <sys/conf.h>
|
||||
#include <dev/cons.h> /* consdev */
|
||||
#include <dev/cons.h>
|
||||
|
||||
#include <machine/bootinfo.h>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue