diff options
author | avg <avg@FreeBSD.org> | 2012-05-09 07:55:42 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2012-05-09 07:55:42 +0000 |
commit | c4c31a507d2ada4ae55e23d07381c15a834cbc0c (patch) | |
tree | d777cb5a84a9961148f4cfc7b130e0f9c48125de /sys/boot/i386 | |
parent | f8f35ffdf562c6c5392f928af11a11c335c562c3 (diff) | |
download | FreeBSD-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.c | 11 |
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. |