diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-03-07 15:38:37 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-03-07 15:38:37 +0000 |
commit | 125089227ddcb1e1a8962734d2e12a44f86d7f82 (patch) | |
tree | d8638810ddec7008998b7c3c0e283c27dcca905a /sys/boot/efi/include/ia64 | |
parent | 8320b370303d044bff05f049d778b71e6f88b241 (diff) | |
download | FreeBSD-src-125089227ddcb1e1a8962734d2e12a44f86d7f82.zip FreeBSD-src-125089227ddcb1e1a8962734d2e12a44f86d7f82.tar.gz |
Don't try to use 'typedef struct foo' if just 'struct foo' makes more sense
and works on all compilers. This also removes the need for
__CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT in <sys/cdefs.h>.
OK'ed by: marcel, dfr
Diffstat (limited to 'sys/boot/efi/include/ia64')
-rw-r--r-- | sys/boot/efi/include/ia64/efibind.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/boot/efi/include/ia64/efibind.h b/sys/boot/efi/include/ia64/efibind.h index 6031eb7..0c77dca 100644 --- a/sys/boot/efi/include/ia64/efibind.h +++ b/sys/boot/efi/include/ia64/efibind.h @@ -131,18 +131,4 @@ void __mf (void); #define LOAD_INTERNAL_DRIVER(_if, type, name, entry) \ (_if)->LoadInternal(type, name, entry) -/* - * Some compilers don't support the forward reference construct: - * typedef struct XXXXX - * - * The following macro provide a workaround for such cases. - */ -#ifdef NO_INTERFACE_DECL -#define INTERFACE_DECL(x) -#else -#ifdef __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT #define INTERFACE_DECL(x) struct x -#else -#define INTERFACE_DECL(x) typedef struct x -#endif -#endif |