From c6167470ebfa5b95b5db21ef11191b13ffdfd362 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Thu, 26 Aug 2021 03:35:19 -0700 Subject: [PATCH] All: Fix indentation errors --- include/mgba-util/common.h | 6 +++--- include/mgba/feature/updater.h | 14 +++++++------- src/debugger/gdb-stub.c | 2 +- src/platform/test/perf-main.c | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/mgba-util/common.h b/include/mgba-util/common.h index 50dfec942..e908c40ea 100644 --- a/include/mgba-util/common.h +++ b/include/mgba-util/common.h @@ -252,9 +252,9 @@ typedef intptr_t ssize_t; #define ATTRIBUTE_NOINLINE // Adapted from https://stackoverflow.com/a/2390626 #define _CONSTRUCTOR(FN, PRE) \ - static void FN(void); \ - __declspec(allocate(".CRT$XCU")) void (*_CONSTRUCTOR_ ## FN)(void) = FN; \ - static void FN(void) + static void FN(void); \ + __declspec(allocate(".CRT$XCU")) void (*_CONSTRUCTOR_ ## FN)(void) = FN; \ + static void FN(void) #ifdef _WIN64 #define CONSTRUCTOR(FN) _CONSTRUCTOR(FN, "") #else diff --git a/include/mgba/feature/updater.h b/include/mgba/feature/updater.h index 323ff749c..bacd45294 100644 --- a/include/mgba/feature/updater.h +++ b/include/mgba/feature/updater.h @@ -17,16 +17,16 @@ struct StringList; struct Table; struct mUpdaterContext { - struct Configuration manifest; + struct Configuration manifest; }; struct mUpdate { - const char* path; - size_t size; - int rev; - const char* version; - const char* commit; - const char* sha256; + const char* path; + size_t size; + int rev; + const char* version; + const char* commit; + const char* sha256; }; bool mUpdaterInit(struct mUpdaterContext*, const char* manifest); diff --git a/src/debugger/gdb-stub.c b/src/debugger/gdb-stub.c index 518425b83..706e1fde8 100644 --- a/src/debugger/gdb-stub.c +++ b/src/debugger/gdb-stub.c @@ -662,7 +662,7 @@ size_t _parseGDBMessage(struct GDBStub* stub, const char* message) { break; case 'X': _writeMemoryBinary(stub, message); - break; + break; case 'Z': _setBreakpoint(stub, message); break; diff --git a/src/platform/test/perf-main.c b/src/platform/test/perf-main.c index 345216be0..2e1736390 100644 --- a/src/platform/test/perf-main.c +++ b/src/platform/test/perf-main.c @@ -83,8 +83,8 @@ static Socket _server = INVALID_SOCKET; int main(int argc, char** argv) { #ifdef _3DS UNUSED(_mPerfShutdown); - gfxInitDefault(); - osSetSpeedupEnable(true); + gfxInitDefault(); + osSetSpeedupEnable(true); consoleInit(GFX_BOTTOM, NULL); #elif defined(__SWITCH__) UNUSED(_mPerfShutdown);