summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-05-09 07:55:42 +0000
committeravg <avg@FreeBSD.org>2012-05-09 07:55:42 +0000
commitc4c31a507d2ada4ae55e23d07381c15a834cbc0c (patch)
treed777cb5a84a9961148f4cfc7b130e0f9c48125de /sys/boot/i386
parentf8f35ffdf562c6c5392f928af11a11c335c562c3 (diff)
downloadFreeBSD-src-c4c31a507d2ada4ae55e23d07381c15a834cbc0c.zip
FreeBSD-src-c4c31a507d2ada4ae55e23d07381c15a834cbc0c.tar.gz
sys/boot: add common CTASSERT definition
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/efi/reloc.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/boot/i386/efi/reloc.c b/sys/boot/i386/efi/reloc.c
index 24eed0a..96f9241 100644
--- a/sys/boot/i386/efi/reloc.c
+++ b/sys/boot/i386/efi/reloc.c
@@ -30,16 +30,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/elf32.h>
#include <efi.h>
-
-/*
- * XXX: we can't include sys/systm.h.
- */
-#ifndef CTASSERT /* Allow lint to override */
-#define CTASSERT(x) _CTASSERT(x, __LINE__)
-#define _CTASSERT(x, y) __CTASSERT(x, y)
-#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 : -1]
-#endif
-
+#include <bootstrap.h>
/*
* A simple relocator for IA32 EFI binaries.
OpenPOWER on IntegriCloud