diff options
author | 2001-06-10 16:54:42 +0000 | |
---|---|---|
committer | 2001-06-10 16:54:42 +0000 | |
commit | 0e967221b4a39d46b3d10f030eee7a2ae6fc20fd (patch) | |
tree | 9bf7aae3bd202674fda2fb76e59096cd049b56b8 | |
parent | Post pmap_extract() changes cleanup. (diff) | |
download | wireguard-openbsd-0e967221b4a39d46b3d10f030eee7a2ae6fc20fd.tar.xz wireguard-openbsd-0e967221b4a39d46b3d10f030eee7a2ae6fc20fd.zip |
permit compilation when only SUN4C is defined; based on patch from Thomas Coffy <coffy@altern.org>.
-rw-r--r-- | sys/arch/sparc/dev/led.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/led.c b/sys/arch/sparc/dev/led.c index e7f535b2042..fffc372acf6 100644 --- a/sys/arch/sparc/dev/led.c +++ b/sys/arch/sparc/dev/led.c @@ -1,4 +1,4 @@ -/* $OpenBSD: led.c,v 1.6 2001/01/30 03:55:10 jason Exp $ */ +/* $OpenBSD: led.c,v 1.7 2001/06/10 16:54:42 jason Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -77,9 +77,8 @@ ledmatch(parent, vcf, aux) struct device *parent; void *vcf, *aux; { -#if defined(SUN4) +#if defined(SUN4) || defined(SUN4M) struct cfdata *cf = vcf; -#endif struct confargs *ca = aux; register struct romaux *ra = &ca->ca_ra; @@ -89,7 +88,7 @@ ledmatch(parent, vcf, aux) return (0); return (1); } -#endif +#endif /* SUN4M */ #if defined(SUN4) if (ca->ca_bustype == BUS_MAIN) { @@ -99,7 +98,8 @@ ledmatch(parent, vcf, aux) return (1); return (0); } -#endif +#endif /* SUN4 */ +#endif /* SUN4 || SUN4M */ return (0); } |