diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2021-08-11 03:15:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-10 22:15:31 -0400 |
| commit | 82cc274b6aa358bab5de54f85edab1727916eb33 (patch) | |
| tree | 973de5958ffd4c357302473cf1aef93ae493f58e /src/boot_O2_g3 | |
| parent | 93333067387172ec0929799a6797fe5aac0a69de (diff) | |
Sort boot files (#260)
Diffstat (limited to 'src/boot_O2_g3')
| -rw-r--r-- | src/boot_O2_g3/__osMemcmp.c | 18 | ||||
| -rw-r--r-- | src/boot_O2_g3/syncprintf.c | 11 |
2 files changed, 6 insertions, 23 deletions
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, ...) { } |
