diff options
author | dfr <dfr@FreeBSD.org> | 2000-01-25 22:23:48 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-01-25 22:23:48 +0000 |
commit | 17a2aa68ca8714e942c2f4edbc29f8c5988bd151 (patch) | |
tree | c34ce571cc4e4fb8456789e1c9cacb700ea3be5b /sys/dev | |
parent | 7fef19bf38c91495521fdc441b0772e3af220573 (diff) | |
download | FreeBSD-src-17a2aa68ca8714e942c2f4edbc29f8c5988bd151.zip FreeBSD-src-17a2aa68ca8714e942c2f4edbc29f8c5988bd151.tar.gz |
Make this lot build on alpha.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ppbus/if_plip.c | 3 | ||||
-rw-r--r-- | sys/dev/ppbus/lpt.c | 5 | ||||
-rw-r--r-- | sys/dev/ppbus/ppb_msq.c | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 6a4117a..3ba5b78 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -196,7 +196,8 @@ lp_probe(device_t dev) { device_t ppbus = device_get_parent(dev); struct lp_data *lp; - int irq, zero = 0; + int zero = 0; + u_long irq; lp = DEVTOSOFTC(dev); bzero(lp, sizeof(struct lp_data)); diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 671ae6a..1c8aa00 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -377,8 +377,9 @@ lpt_attach(device_t dev) { device_t ppbus = device_get_parent(dev); struct lpt_data *sc = DEVTOSOFTC(dev); - int zero = 0, irq, unit = device_get_unit(dev); + int zero = 0, unit = device_get_unit(dev); int error; + u_long irq; sc->sc_primed = 0; /* not primed yet */ @@ -830,7 +831,7 @@ lpt_intr(void *arg) device_t lptdev = (device_t)arg; device_t ppbus = device_get_parent(lptdev); struct lpt_data *sc = DEVTOSOFTC(lptdev); - int sts; + int sts = 0; int i; /* we must own the bus to use it */ diff --git a/sys/dev/ppbus/ppb_msq.c b/sys/dev/ppbus/ppb_msq.c index 074dd07..af21ac2 100644 --- a/sys/dev/ppbus/ppb_msq.c +++ b/sys/dev/ppbus/ppb_msq.c @@ -190,7 +190,7 @@ ppb_MS_init_msq(struct ppb_microseq *msq, int nbparam, ...) { int i; int param, ins, arg, type; - va_list p_list = 0; + va_list p_list; va_start(p_list, nbparam); |