Include "ioconf.h" for struct cfdriver *_cd decls.

This commit is contained in:
tsutsui 2005-03-14 12:50:33 +00:00
parent 7839bf7dd6
commit 99e1f5f2d1
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ct.c,v 1.40 2005/02/05 16:19:35 chs Exp $ */
/* $NetBSD: ct.c,v 1.41 2005/03/14 12:50:33 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.40 2005/02/05 16:19:35 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.41 2005/03/14 12:50:33 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -99,6 +99,8 @@ __KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.40 2005/02/05 16:19:35 chs Exp $");
#include <hp300/dev/ctreg.h>
#include "ioconf.h"
/* number of eof marks to remember */
#define EOFS 128
@ -150,8 +152,6 @@ static void ctattach(struct device *, struct device *, void *);
CFATTACH_DECL(ct, sizeof(struct ct_softc),
ctmatch, ctattach, NULL, NULL);
extern struct cfdriver ct_cd;
static dev_type_open(ctopen);
static dev_type_close(ctclose);
static dev_type_read(ctread);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dcm.c,v 1.65 2004/08/28 17:37:00 thorpej Exp $ */
/* $NetBSD: dcm.c,v 1.66 2005/03/14 12:50:33 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -123,7 +123,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.65 2004/08/28 17:37:00 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.66 2005/03/14 12:50:33 tsutsui Exp $");
#include "opt_kgdb.h"
@ -148,6 +148,8 @@ __KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.65 2004/08/28 17:37:00 thorpej Exp $");
#include <hp300/dev/diodevs.h>
#include <hp300/dev/dcmreg.h>
#include "ioconf.h"
#ifndef DEFAULT_BAUD_RATE
#define DEFAULT_BAUD_RATE 9600
#endif
@ -361,8 +363,6 @@ int dcmconscode;
int dcmdefaultrate = DEFAULT_BAUD_RATE;
int dcmconbrdbusy = 0;
extern struct cfdriver dcm_cd;
static dev_type_open(dcmopen);
static dev_type_close(dcmclose);
static dev_type_read(dcmread);