From fb790b07aeba8e22e4190cf3e1834d11ecde6c96 Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 25 Apr 2025 13:08:33 +0200 Subject: dev: better .clang-format, ran format command. Signed-off-by: Amlal --- dev/boot/modules/SysChk/SysChk.cc | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'dev/boot/modules/SysChk') diff --git a/dev/boot/modules/SysChk/SysChk.cc b/dev/boot/modules/SysChk/SysChk.cc index 032c031d..a3697bb1 100644 --- a/dev/boot/modules/SysChk/SysChk.cc +++ b/dev/boot/modules/SysChk/SysChk.cc @@ -8,8 +8,7 @@ */ #include -#include -#include +#include #include #include #include @@ -18,28 +17,26 @@ #include #include #include -#include #include +#include // Makes the compiler shut up. #ifndef kMachineModel #define kMachineModel "OS" -#endif // !kMachineModel +#endif // !kMachineModel -EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover) -{ +EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover) { #if defined(__ATA_PIO__) - fw_init_efi((EfiSystemTable*)handover->f_FirmwareCustomTables[1]); + fw_init_efi((EfiSystemTable*) handover->f_FirmwareCustomTables[1]); - Boot::BDiskFormatFactory partition_factory; + Boot::BDiskFormatFactory partition_factory; - if (partition_factory.IsPartitionValid()) - return kEfiOk; + if (partition_factory.IsPartitionValid()) return kEfiOk; - return partition_factory.Format(kMachineModel) == YES; + return partition_factory.Format(kMachineModel) == YES; #else - NE_UNUSED(handover); + NE_UNUSED(handover); - return kEfiOk; + return kEfiOk; #endif } -- cgit v1.2.3