Fix formatting.

Maybe we should start using clang-format for wut.
This commit is contained in:
James Benton 2020-05-07 15:29:59 +01:00
parent e2e877decd
commit 7492ff0483
5 changed files with 111 additions and 111 deletions

View File

@ -193,7 +193,7 @@ ICInvalidateRange(void *addr,
uint32_t size);
void
OSMemoryBarrier(void);
OSMemoryBarrier();
#ifdef __cplusplus
}

View File

@ -16,14 +16,14 @@ typedef enum COSReportLevel{
COS_REPORT_LEVEL_ERROR = 0,
COS_REPORT_LEVEL_WARN = 1,
COS_REPORT_LEVEL_INFO = 2,
COS_REPORT_LEVEL_VERBOSE = 3
COS_REPORT_LEVEL_VERBOSE = 3,
} COSReportLevel;
typedef enum COSReportModule{
COS_REPORT_MODULE_UNKNOWN_0 = 0,
COS_REPORT_MODULE_UNKNOWN_1 = 1,
COS_REPORT_MODULE_UNKNOWN_2 = 2,
COS_REPORT_MODULE_UNKNOWN_5 = 5
COS_REPORT_MODULE_UNKNOWN_5 = 5,
} COSReportModule;
void

View File

@ -24,7 +24,7 @@ typedef enum OSSharedDataType
OS_SHAREDDATATYPE_FONT_KOREAN = 1,
OS_SHAREDDATATYPE_FONT_STANDARD = 2,
OS_SHAREDDATATYPE_FONT_TAIWANESE = 3,
OS_SHAREDDATATYPE_FONT_MAX = 4
OS_SHAREDDATATYPE_FONT_MAX = 4,
} OSSharedDataType;
BOOL
@ -152,10 +152,10 @@ OSMemoryBarrier();
/**
* Zeros the memory for a given proccessID.
* Works only inside the ROOT process.
*
**/
void
__OSZeroProcessMemory(uint32_t proccesID);
#ifdef __cplusplus
}
#endif

View File

@ -23,7 +23,7 @@ typedef enum UCCommand
UC_CMD_WRITE_SYS_CONFIG = 0x31,
UC_CMD_DELETE_SYS_CONFIG = 0x32,
UC_CMD_QUERY_SYS_CONFIG = 0x33,
UC_CMD_LIST_SYS_CONFIG = 0x34
UC_CMD_LIST_SYS_CONFIG = 0x34,
} UCCommand;
typedef enum UCDataType
@ -37,7 +37,7 @@ typedef enum UCDataType
UC_DATATYPE_STRING = 0x06,
UC_DATATYPE_HEXBINARY = 0x07,
UC_DATATYPE_COMPLEX = 0x08,
UC_DATATYPE_INVALID = 0xFF
UC_DATATYPE_INVALID = 0xFF,
} UCDataType;
typedef enum UCErrors
@ -79,7 +79,7 @@ typedef enum UCErrors
UC_ERROR_VERSION = -0x200021,
UC_ERROR_NO_IPC_BUFFERS = -0x200022,
UC_ERROR_FILE_LOCK_NEEDED = -0x200024,
UC_ERROR_SYS_PROT = -0x200028
UC_ERROR_SYS_PROT = -0x200028,
} UCErrors;
typedef enum UCFileSys
@ -87,7 +87,7 @@ typedef enum UCFileSys
UC_FILE_SYS_INVALID = 0x00,
UC_FILE_SYS_SYS = 0x01,
UC_FILE_SYS_SLC = 0x02,
UC_FILE_SYS_RAM = 0x03
UC_FILE_SYS_RAM = 0x03,
} UCFileSys;
#pragma pack(push, 1)