From 0d4345a9bf2623df079c50a3bc73cbb7deca1176 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Wed, 17 Jul 2019 11:30:07 +0800 Subject: Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more --- libpsn00b/include/stdio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpsn00b/include/stdio.h') diff --git a/libpsn00b/include/stdio.h b/libpsn00b/include/stdio.h index 98c69d0..81249de 100644 --- a/libpsn00b/include/stdio.h +++ b/libpsn00b/include/stdio.h @@ -43,10 +43,10 @@ extern int getchar(void); extern void putchar(int __c); // The following functions do not use the BIOS -int vsnprintf(char *string, unsigned int size, char *fmt, va_list ap); -int vsprintf(char *string, char *fmt, va_list ap); -int sprintf(char *string, char *fmt, ...); -int snprintf(char *string, unsigned int size, char *fmt, ...); +int vsnprintf(char *string, unsigned int size, const char *fmt, va_list ap); +int vsprintf(char *string, const char *fmt, va_list ap); +int sprintf(char *string, const char *fmt, ...); +int snprintf(char *string, unsigned int size, const char *fmt, ...); #ifdef __cplusplus } -- cgit v1.2.3