diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-01-16 17:43:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-01-16 17:43:05 +0000 |
commit | 9b209fa2ee148be2cb2760988a3e7f658ad19e47 (patch) | |
tree | d10e1c13fae9ddc4977d9383556c3f724cca986b | |
parent | 389f319ecb1dea1443de72c133c825867d2b9aa6 (diff) |
Allow this to build w/o SGC; OK miod@
-rw-r--r-- | sys/arch/hp300/hp300/autoconf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/autoconf.c b/sys/arch/hp300/hp300/autoconf.c index 6ca63d1b6a1..e0736efee54 100644 --- a/sys/arch/hp300/hp300/autoconf.c +++ b/sys/arch/hp300/hp300/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.30 2005/01/14 22:39:27 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.31 2005/01/16 17:43:04 millert Exp $ */ /* $NetBSD: autoconf.c,v 1.45 1999/04/10 17:31:02 kleink Exp $ */ /* @@ -1120,7 +1120,7 @@ console_scan(func, arg, bus) void *arg; int bus; { - int rv, size, scode, sctop; + int size, scode, sctop; caddr_t pa, va; switch (bus) { @@ -1189,6 +1189,8 @@ console_scan(func, arg, bus) * hardware. If there's something there, call (*func)(). */ for (scode = 0; scode < SGC_NSLOTS; ++scode) { + int rv; + /* * Abort mission if console has been forced. */ |