mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
Make VOID a typedef
'void' is a type so VOID can be typedef instead of a '#define' to improve compiler output Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
189200d0b0
commit
056bdaa53e
7 changed files with 7 additions and 7 deletions
|
|
@ -57,7 +57,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
typedef int64_t INTN;
|
||||
typedef uint64_t UINTN;
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
typedef int32_t INTN;
|
||||
typedef uint32_t UINTN;
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
|
||||
typedef int32_t INTN;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
|
||||
typedef int64_t INTN;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
typedef int64_t INTN;
|
||||
typedef uint64_t UINTN;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ typedef wchar_t CHAR16;
|
|||
typedef uint8_t BOOLEAN;
|
||||
#endif
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
typedef int64_t INTN;
|
||||
typedef uint64_t UINTN;
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ typedef char CHAR8;
|
|||
typedef int8_t INT8;
|
||||
|
||||
#undef VOID
|
||||
#define VOID void
|
||||
typedef void VOID;
|
||||
|
||||
|
||||
typedef int64_t INTN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue