From 6f98bbbb0910fef8ad88e1e25d1e1a3748c1e26d Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 23 May 2000 19:55:55 +0000 Subject: [PATCH] Add some missing ifdef's. --- sys/arch/vax/vax/autoconf.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c index b21e12e70310..2633a716da47 100644 --- a/sys/arch/vax/vax/autoconf.c +++ b/sys/arch/vax/vax/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.54 2000/05/22 15:38:47 matt Exp $ */ +/* $NetBSD: autoconf.c,v 1.55 2000/05/23 19:55:55 matt Exp $ */ /* * Copyright (c) 1994 Ludd, University of Lule}, Sweden. @@ -170,11 +170,19 @@ static int jmfr(char *, struct device *, int); static int booted_qe(struct device *, void *); static int booted_le(struct device *, void *); static int booted_ze(struct device *, void *); -static int booted_sd(struct device *, void *); -static int booted_rl(struct device *, void *); -static int booted_ra(struct device *, void *); -static int booted_hp(struct device *, void *); static int booted_de(struct device *, void *); +#if NSD > 0 || NCD > 0 +static int booted_sd(struct device *, void *); +#endif +#if NRL > 0 +static int booted_rl(struct device *, void *); +#endif +#if NRA +static int booted_ra(struct device *, void *); +#endif +#if NHP +static int booted_hp(struct device *, void *); +#endif int (*devreg[])(struct device *, void *) = { booted_qe,