From 3c0763081100568c5b98c9640664b3f272a5f229 Mon Sep 17 00:00:00 2001 From: Derek Hensley Date: Sat, 24 Feb 2024 10:12:37 -0800 Subject: [PATCH] Readd static --- src/libc/sprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libc/sprintf.c b/src/libc/sprintf.c index d4b27b1..f8dfc42 100644 --- a/src/libc/sprintf.c +++ b/src/libc/sprintf.c @@ -17,6 +17,7 @@ int sprintf(char* s, const char* fmt, ...) { } return ans; } -void* proutSprintf(void* s, const char* buf, size_t n) { + +static void* proutSprintf(void* s, const char* buf, size_t n) { return (char*)memcpy((u8*)s, (u8*)buf, n) + n; }