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:
Callum Farmer 2023-04-13 14:32:37 +01:00
parent 189200d0b0
commit 056bdaa53e
7 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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;

View File

@ -107,7 +107,7 @@ typedef char CHAR8;
typedef int8_t INT8;
#undef VOID
#define VOID void
typedef void VOID;
typedef int32_t INTN;

View File

@ -91,7 +91,7 @@ typedef char CHAR8;
typedef int8_t INT8;
#undef VOID
#define VOID void
typedef void VOID;
typedef int64_t INTN;

View File

@ -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;

View File

@ -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;

View File

@ -117,7 +117,7 @@ typedef char CHAR8;
typedef int8_t INT8;
#undef VOID
#define VOID void
typedef void VOID;
typedef int64_t INTN;