diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-10-09 10:57:00 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:44 +0200 |
commit | c4d60cdf58b19d9ec8ea2254b92c654f217cf830 (patch) | |
tree | 6b5f850880cb50e5fbd287cb5073382495db84df | |
parent | 13f35c51e1cbc6ea2f9ca4adaa749d4d75e3b0b6 (diff) |
2006-10-09 Thomas Schwinge <tschwinge@gnu.org>
* 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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bogus/mach_assert.h | 5 | ||||
-rw-r--r-- | ddb/tr.h | 7 | ||||
-rw-r--r-- | i386/i386/loose_ends.c | 6 |
4 files changed, 16 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2006-10-09 Thomas Schwinge <tschwinge@gnu.org> + * 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 @@ -15,7 +15,12 @@ * less formatting. */ -#include <mach_assert.h> +#ifndef NDEBUG +#define MACH_ASSERT 1 +#else +#define MACH_ASSERT 0 +#endif + #include <mach_tr.h> /* 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 <mach_assert.h> +#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 |