Added CRT stuff to printfs

This commit is contained in:
korenkonder
2024-05-12 10:27:38 +03:00
parent a18ab0568b
commit 6982deb77a
13 changed files with 53 additions and 43 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
#include "print.hpp"
void printf_divagl(const char* fmt, ...) {
void printf_divagl(_In_z_ _Printf_format_string_ const char* const fmt, ...) {
char buf[0x1000];
va_list args;
va_start(args, fmt);
@@ -14,7 +14,7 @@ void printf_divagl(const char* fmt, ...) {
va_end(args);
}
void printf_proxy(const char* fmt, ...) {
void printf_proxy(_In_z_ _Printf_format_string_ const char* const fmt, ...) {
va_list args;
va_start(args, fmt);
vprintf(fmt, args);