From 547552c51648c82413fc12ebbada84d3d58f90cd Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 21 Nov 1996 12:47:18 +0000 Subject: export struct cfdata cfdata[]; --- sys/kern/subr_autoconf.c | 3 +-- sys/kern/subr_userconf.c | 3 +-- sys/sys/device.h | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 34b956f3309..c27b01bb5dd 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_autoconf.c,v 1.13 1996/10/18 14:46:35 niklas Exp $ */ +/* $OpenBSD: subr_autoconf.c,v 1.14 1996/11/21 12:47:15 mickey Exp $ */ /* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */ /* @@ -68,7 +68,6 @@ * ioconf.c exports exactly two names: cfdata and cfroots. All system * devices and drivers are found via these tables. */ -extern struct cfdata cfdata[]; extern short cfroots[]; #define ROOT ((struct device *)NULL) diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c index 61faed30340..f1de29e5e53 100644 --- a/sys/kern/subr_userconf.c +++ b/sys/kern/subr_userconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_userconf.c,v 1.10 1996/09/06 15:35:09 maja Exp $ */ +/* $OpenBSD: subr_userconf.c,v 1.11 1996/11/21 12:47:16 mickey Exp $ */ /* * Copyright (c) 1996 Mats O Jansson @@ -41,7 +41,6 @@ extern char *locnames[]; extern short locnamp[]; -extern struct cfdata cfdata[]; extern short cfroots[]; extern int cfroots_size; extern int pv_size; diff --git a/sys/sys/device.h b/sys/sys/device.h index 4c403a08506..bd92e73cc6d 100644 --- a/sys/sys/device.h +++ b/sys/sys/device.h @@ -1,4 +1,4 @@ -/* $OpenBSD: device.h,v 1.8 1996/07/02 07:58:39 deraadt Exp $ */ +/* $OpenBSD: device.h,v 1.9 1996/11/21 12:47:17 mickey Exp $ */ /* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */ /* @@ -97,6 +97,7 @@ struct cfdata { void (**cf_ivstubs) /* config-generated vectors, if any */ __P((void)); }; +extern struct cfdata cfdata[]; #define FSTATE_NOTFOUND 0 /* has not been found */ #define FSTATE_FOUND 1 /* has been found */ #define FSTATE_STAR 2 /* duplicable */ -- cgit v1.2.3