From 276d773358af00881c6d6d5587b7615354cc9882 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 21 Aug 2001 07:13:47 +0000 Subject: Remove gcc warnings. Ok drahn@ --- sys/dev/ofw/ofbus.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c index 7bba2c0eb06..27e94c396e8 100644 --- a/sys/dev/ofw/ofbus.c +++ b/sys/dev/ofw/ofbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofbus.c,v 1.9 2000/10/16 00:18:01 drahn Exp $ */ +/* $OpenBSD: ofbus.c,v 1.10 2001/08/21 07:13:46 matthieu Exp $ */ /* $NetBSD: ofbus.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */ /* @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -41,6 +42,8 @@ /* a bit of a hack to prevent conflicts between ofdisk and sd/wd */ #include "sd.h" +extern void systype(char *); + int ofrprobe __P((struct device *, void *, void *)); void ofrattach __P((struct device *, struct device *, void *)); int ofbprobe __P((struct device *, void *, void *)); @@ -95,7 +98,6 @@ ofrprobe(parent, cf, aux) struct device *parent; void *cf, *aux; { - int node; struct confargs *ca = aux; if (strcmp(ca->ca_name, ofroot_cd.cd_name) != 0) @@ -112,7 +114,6 @@ ofrattach(parent, dev, aux) char name[64]; struct ofprobe *ofp = aux; struct ofprobe probe; - int units; int node; char ofname[64]; int l; -- cgit v1.2.3