summaryrefslogtreecommitdiff
path: root/src/boot_O2/printutils.c
diff options
context:
space:
mode:
authorEllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>2021-10-11 19:28:16 +0100
committerGitHub <noreply@github.com>2021-10-11 15:28:16 -0300
commit565b1f7579876e08f2898fe07549cb348a222e93 (patch)
tree7de0a7fd533c48b057a715829ed4bc78c4ddd5f3 /src/boot_O2/printutils.c
parentd061f1c66653e0b35c3d2e8bd15ffdf5bf783877 (diff)
`flg_set.c` OK and documented (#335)
* Draw OK, Update very much not * Flag table imported * Update OK * Actually OK this time * Begin documenting * Rename some stuff * Rename functions * spec * Review * Format * Anghelo's review * Fix lifemeter bss * Format * Missed one * idle.c bss
Diffstat (limited to 'src/boot_O2/printutils.c')
-rw-r--r--src/boot_O2/printutils.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/boot_O2/printutils.c b/src/boot_O2/printutils.c
index ca62b91b7..3fb8cf367 100644
--- a/src/boot_O2/printutils.c
+++ b/src/boot_O2/printutils.c
@@ -1,14 +1,17 @@
#include "global.h"
-void PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args) {
- _Printf(*pfn, pfn, fmt, args);
+s32 PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args) {
+ return _Printf(*pfn, pfn, fmt, args);
}
-void PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...) {
+s32 PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...) {
+ s32 ret;
va_list args;
va_start(args, fmt);
- PrintUtils_VPrintf(pfn, fmt, args);
+ ret = PrintUtils_VPrintf(pfn, fmt, args);
va_end(args);
+
+ return ret;
}