summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorHeikki Korpela <heko@cvs.openbsd.org>2001-08-12 12:03:04 +0000
committerHeikki Korpela <heko@cvs.openbsd.org>2001-08-12 12:03:04 +0000
commit8733d65e598e20f5a4415a710e9c51ab3a3d323d (patch)
tree39173461770e11f8ad331e9aa18365fc4ab2d19f /sys/arch/m68k
parentbbbc80b14c0c9c05eb40dfe595d4893002a710bf (diff)
#(endif|else) foo is incorrect, make it #endif /* foo */
deraadt@ ok
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/m68k/db_trace.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/m68k/m68k/db_trace.c b/sys/arch/m68k/m68k/db_trace.c
index 93a16598504..279fb85a33b 100644
--- a/sys/arch/m68k/m68k/db_trace.c
+++ b/sys/arch/m68k/m68k/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.10 2001/05/15 01:43:15 millert Exp $ */
+/* $OpenBSD: db_trace.c,v 1.11 2001/08/12 12:03:02 heko Exp $ */
/* $NetBSD: db_trace.c,v 1.20 1997/02/05 05:10:25 scottr Exp $ */
/*
@@ -172,7 +172,7 @@ stacktop(regs, sp)
#define BSR 0x61000000 /* bsr x */
#ifdef mc68020
#define BSRL 0x61ff0000 /* bsrl x */
-#endif mc68020
+#endif /* mc68020 */
#define BYTE3 0x0000ff00
#define LOBYTE 0x000000ff
#define ADQMSK 0xf1ff0000
@@ -222,7 +222,7 @@ nextframe(sp, kerneltrace)
addr, sp->k_caller);
#endif
errflg = 0;
-#endif 0
+#endif /* 0 */
} else {
if (addr == MAXINT) {
/* we don't know what registers are involved here--
@@ -308,7 +308,7 @@ findentry(sp)
/* longword self-relative offset */
sp->k_caller = addr - 6;
sp->k_entry = nextword + (addr - 4);
-#endif mc68020
+#endif /* mc68020 */
} else {
instruc = nextword;
if ((instruc & HIWORD) == JSR) {
@@ -368,7 +368,7 @@ findentry(sp)
else
db_printf("Non-tramp jsr a0@\n");
#endif
-#endif 0
+#endif /* 0 */
}
}
}