summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/labpc.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-08-16 16:14:28 +0000
committerbde <bde@FreeBSD.org>1995-08-16 16:14:28 +0000
commitb31df0923855dfd9d896af85136b21457656fb94 (patch)
tree615cdfe7b4bd682482b05bb8cf71a6e13bc3f095 /sys/i386/isa/labpc.c
parent6a4e982f2752e3e2c2174179969c6ecc93410a5f (diff)
downloadFreeBSD-src-b31df0923855dfd9d896af85136b21457656fb94.zip
FreeBSD-src-b31df0923855dfd9d896af85136b21457656fb94.tar.gz
Make everything except the unsupported network sources compile cleanly
with -Wnested-externs.
Diffstat (limited to 'sys/i386/isa/labpc.c')
-rw-r--r--sys/i386/isa/labpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/labpc.c b/sys/i386/isa/labpc.c
index 760cbbb..dad3365 100644
--- a/sys/i386/isa/labpc.c
+++ b/sys/i386/isa/labpc.c
@@ -272,6 +272,8 @@ extern int labpcprobe(struct isa_device *dev);
struct isa_driver labpcdriver =
{ labpcprobe, labpcattach, "labpc", 0 /* , labpcdetach */ };
+static void start(struct ctlr *ctlr);
+
static void
bp_done(struct buf *bp, int err)
{
@@ -290,8 +292,6 @@ static void tmo_stop(void *p);
static void
done_and_start_next(struct ctlr *ctlr, struct buf *bp, int err)
{
- static void start(struct ctlr *ctlr);
-
bp->b_resid = ctlr->data_end - ctlr->data;
ctlr->data = 0;
OpenPOWER on IntegriCloud