From efad89a1b70e265c3706662a8392fd1164c06bd7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Tue, 20 Jul 2021 20:25:29 -0500 Subject: io: prefix a 'k' to print functions Add a 'k' prefix to the kernel versions of the printf family. --- kernel/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kernel/io.c') diff --git a/kernel/io.c b/kernel/io.c index e2bef20..71b01bd 100644 --- a/kernel/io.c +++ b/kernel/io.c @@ -18,7 +18,7 @@ char* convert(unsigned int num, int base) { return ptr; } -int vprintf(const char *fmt, va_list args) { +int vkprintf(const char *fmt, va_list args) { char *s; int i; @@ -60,12 +60,12 @@ int vprintf(const char *fmt, va_list args) { return 0; } -int printf(const char *fmt, ...) { +int kprintf(const char *fmt, ...) { va_list args; int done; va_start(args, fmt); - done = vprintf(fmt, args); + done = vkprintf(fmt, args); va_end(args); return done; -- cgit v1.2.3