From c4d60cdf58b19d9ec8ea2254b92c654f217cf830 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 9 Oct 2006 10:57:00 +0000 Subject: 2006-10-09 Thomas Schwinge * ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of including it. * i386/i386/loose_ends.c: Likewise. * bogus/mach_assert.h: Remove file. --- ChangeLog | 5 +++++ bogus/mach_assert.h | 5 ----- ddb/tr.h | 7 ++++++- i386/i386/loose_ends.c | 6 +++++- 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 bogus/mach_assert.h diff --git a/ChangeLog b/ChangeLog index 19c3702..e4cbd90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-10-09 Thomas Schwinge + * ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of + including it. + * i386/i386/loose_ends.c: Likewise. + * bogus/mach_assert.h: Remove file. + * bogus/panic.c: Remove file. * linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: diff --git a/bogus/mach_assert.h b/bogus/mach_assert.h deleted file mode 100644 index 2550197..0000000 --- a/bogus/mach_assert.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef NDEBUG -#define MACH_ASSERT 1 -#else -#define MACH_ASSERT 0 -#endif diff --git a/ddb/tr.h b/ddb/tr.h index 1d6145a..2d058ca 100644 --- a/ddb/tr.h +++ b/ddb/tr.h @@ -15,7 +15,12 @@ * less formatting. */ -#include +#ifndef NDEBUG +#define MACH_ASSERT 1 +#else +#define MACH_ASSERT 0 +#endif + #include /* diff --git a/i386/i386/loose_ends.c b/i386/i386/loose_ends.c index a5671af..43d3513 100644 --- a/i386/i386/loose_ends.c +++ b/i386/i386/loose_ends.c @@ -25,8 +25,12 @@ */ /* */ -#include +#ifndef NDEBUG +#define MACH_ASSERT 1 +#else +#define MACH_ASSERT 0 +#endif /* * For now we will always go to single user mode, since there is -- cgit v1.2.3