summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2001-08-21 07:13:47 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2001-08-21 07:13:47 +0000
commit276d773358af00881c6d6d5587b7615354cc9882 (patch)
tree80201c955c613438a49ff3158100acdec5dae817
parent91cdd31f909e12fb3982994617ac38e901f93d65 (diff)
Remove gcc warnings. Ok drahn@
-rw-r--r--sys/dev/ofw/ofbus.c7
1 files 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 <sys/param.h>
#include <sys/device.h>
+#include <sys/systm.h>
#include <machine/autoconf.h>
#include <dev/ofw/openfirm.h>
@@ -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;