Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k Correct misplaced #endif that causes comp...



details:   https://anonhg.NetBSD.org/src/rev/bccda292e06c
branches:  trunk
changeset: 534005:bccda292e06c
user:      scottr <scottr%NetBSD.org@localhost>
date:      Fri Jul 12 18:53:16 2002 +0000

description:
Correct misplaced #endif that causes compile-time error if
neither M68040 nor M68060 are configured into the kernel.

diffstat:

 sys/arch/m68k/m68k/bus_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r c5dd338db0c2 -r bccda292e06c sys/arch/m68k/m68k/bus_dma.c
--- a/sys/arch/m68k/m68k/bus_dma.c      Fri Jul 12 17:48:23 2002 +0000
+++ b/sys/arch/m68k/m68k/bus_dma.c      Fri Jul 12 18:53:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.3 2002/07/04 18:09:59 scottr Exp $ */
+/* $NetBSD: bus_dma.c,v 1.4 2002/07/12 18:53:16 scottr Exp $ */
 
 /*
  * This file was taken from from alpha/common/bus_dma.c
@@ -46,7 +46,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.3 2002/07/04 18:09:59 scottr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.4 2002/07/12 18:53:16 scottr Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -545,8 +545,8 @@
 #endif
                        }
                        break;
+#endif /* M68040 || M68060 */
                }
-#endif /* M68040 || M68060 */
        }
 }
 



Home | Main Index | Thread Index | Old Index