From f2b4acb2fe6a366288b19843e0d2678b8590bdf4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 25 Apr 2021 13:43:14 +0200 Subject: Chu chuu, using the bus for everything now! Well, I know: bus != train. But I like trains. So I don't care. Go away! --- libs/libc/inc/print.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/libc/inc/print.h') diff --git a/libs/libc/inc/print.h b/libs/libc/inc/print.h index 1d85c33..6d959c3 100644 --- a/libs/libc/inc/print.h +++ b/libs/libc/inc/print.h @@ -14,13 +14,16 @@ int print(const char *str) NONNULL; NORETURN void panic(const char *format, ...) NONNULL; #ifdef USER +#include int vfprintf(const char *path, const char *format, va_list ap) NONNULL; +int viprintf(enum io_type io, const char *format, va_list ap) NONNULL; int fprintf(const char *path, const char *format, ...) NONNULL; +int iprintf(enum io_type io, const char *format, ...) NONNULL; int log(const char *format, ...) NONNULL; void err(int code, const char *format, ...) NONNULL; #else #include -int print_app(enum stream_defaults id, const char *proc_name, const char *str) NONNULL; +int print_prefix(void); void print_trace(u32 count); #endif -- cgit v1.2.3