diff options
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index e1aa1a33..96c03316 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -18,8 +18,8 @@ #ifndef _STDIO_H #define _STDIO_H +#include <kern/fmt.h> #include <kern/printf.h> -#include <kern/sprintf.h> #ifndef EOF #define EOF (-1) @@ -31,4 +31,12 @@ char console_getchar(void); #define getchar console_getchar #define putchar console_putchar +#define sprintf fmt_sprintf +#define snprintf fmt_snprintf +#define vsprintf fmt_vsprintf +#define vsnprintf fmt_vsnprintf + +#define sscanf fmt_sscanf +#define vsscanf fmt_vsscanf + #endif /* _STDIO_H */ |