summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/efi/include/i386/efibind.h12
-rw-r--r--sys/boot/efi/include/ia64/efibind.h14
2 files changed, 1 insertions, 25 deletions
diff --git a/sys/boot/efi/include/i386/efibind.h b/sys/boot/efi/include/i386/efibind.h
index 5c19495..1c62eb6 100644
--- a/sys/boot/efi/include/i386/efibind.h
+++ b/sys/boot/efi/include/i386/efibind.h
@@ -231,17 +231,7 @@ typedef uint32_t UINTN;
#endif /* EFI_FW_NT */
-/*
- * 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
-#define INTERFACE_DECL(x) typedef struct x
-#endif
+#define INTERFACE_DECL(x) struct x
#if _MSC_EXTENSIONS
#pragma warning ( disable : 4731 )
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
OpenPOWER on IntegriCloud