mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-21 10:45:24 -04:00
Replace unneeded BOOLEAN with bool
This commit is contained in:
parent
e6b567532d
commit
66e9f95dc3
6 changed files with 29 additions and 40 deletions
|
@ -85,19 +85,19 @@ typedef size_t USTATUS;
|
|||
#define U_NOT_IMPLEMENTED 255
|
||||
|
||||
// EDK2 porting definitions
|
||||
typedef uint8_t BOOLEAN;
|
||||
typedef int8_t INT8;
|
||||
typedef uint8_t UINT8;
|
||||
typedef int16_t INT16;
|
||||
typedef uint16_t UINT16;
|
||||
typedef int32_t INT32;
|
||||
typedef uint32_t UINT32;
|
||||
typedef int64_t INT64;
|
||||
typedef uint64_t UINT64;
|
||||
typedef char CHAR8;
|
||||
typedef uint16_t CHAR16;
|
||||
typedef size_t UINTN;
|
||||
typedef ptrdiff_t INTN;
|
||||
typedef uint8_t BOOLEAN;
|
||||
typedef int8_t INT8;
|
||||
typedef uint8_t UINT8;
|
||||
typedef int16_t INT16;
|
||||
typedef uint16_t UINT16;
|
||||
typedef int32_t INT32;
|
||||
typedef uint32_t UINT32;
|
||||
typedef int64_t INT64;
|
||||
typedef uint64_t UINT64;
|
||||
typedef char CHAR8;
|
||||
typedef uint16_t CHAR16;
|
||||
typedef size_t UINTN;
|
||||
typedef ptrdiff_t INTN;
|
||||
|
||||
#define CONST const
|
||||
#define VOID void
|
||||
|
@ -137,7 +137,6 @@ typedef ptrdiff_t INTN;
|
|||
#define COMPRESSION_ALGORITHM_GZIP 8
|
||||
#define COMPRESSION_ALGORITHM_ZLIB 9
|
||||
|
||||
|
||||
// Item create modes
|
||||
#define CREATE_MODE_APPEND 0
|
||||
#define CREATE_MODE_PREPEND 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue