From 82cc274b6aa358bab5de54f85edab1727916eb33 Mon Sep 17 00:00:00 2001 From: Tharo <17233964+Thar0@users.noreply.github.com> Date: Wed, 11 Aug 2021 03:15:31 +0100 Subject: Sort boot files (#260) --- src/boot_O2_g3/__osMemcmp.c | 18 ------------------ src/boot_O2_g3/syncprintf.c | 11 ++++++----- 2 files changed, 6 insertions(+), 23 deletions(-) delete mode 100644 src/boot_O2_g3/__osMemcmp.c (limited to 'src/boot_O2_g3') diff --git a/src/boot_O2_g3/__osMemcmp.c b/src/boot_O2_g3/__osMemcmp.c deleted file mode 100644 index c1890bebc..000000000 --- a/src/boot_O2_g3/__osMemcmp.c +++ /dev/null @@ -1,18 +0,0 @@ -#include "global.h" - -/* - * Compare strings (strcmp). - */ -s32 __osMemcmp(const char* str1, const char* str2) { - char currentCharStr1; - char currentCharStr2; - do { - currentCharStr1 = *str1++; - currentCharStr2 = *str2++; - if (currentCharStr1 != currentCharStr2) { - return currentCharStr1 - currentCharStr2; - } - } while (currentCharStr1); - - return 0; -} diff --git a/src/boot_O2_g3/syncprintf.c b/src/boot_O2_g3/syncprintf.c index c1f6341f9..1cbceb595 100644 --- a/src/boot_O2_g3/syncprintf.c +++ b/src/boot_O2_g3/syncprintf.c @@ -1,10 +1,11 @@ #include "global.h" -// This file contains print functions that are used by fault.c, so they are placed in the fault module - -void __osSyncVPrintf(UNK_TYPE4 param_1, ...) { +// This isn't a vprintf since it doesn't take a va_list +void __osSyncVPrintf(const char* fmt, ...) { } -void osSyncPrintf(char* str, ...) { + +void osSyncPrintf(const char* fmt, ...) { } -void rmonPrintf(UNK_TYPE4 param_1, ...) { + +void rmonPrintf(const char* fmt, ...) { } -- cgit v1.2.3