[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] !kernel2: kprintf included <stdarg.h> statt #defines



---
 src/kernel2/include/kprintf.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/kernel2/include/kprintf.h b/src/kernel2/include/kprintf.h
index 93062ac..c102453 100644
--- a/src/kernel2/include/kprintf.h
+++ b/src/kernel2/include/kprintf.h
@@ -2,11 +2,12 @@
 #define KPRINTF_H
 
 #include <stdint.h>
+#include <stdarg.h>
 
-typedef __builtin_va_list va_list;
-#define va_start(ap, f) __builtin_stdarg_start((ap),f)
-#define va_arg __builtin_va_arg
-#define va_end __builtin_va_end
+//typedef __builtin_va_list va_list;
+//#define va_start(ap, f) __builtin_stdarg_start((ap),f)
+//#define va_arg __builtin_va_arg
+//#define va_end __builtin_va_end
 
 void kprintf(char* format, ...);
 void kaprintf(char* format, va_list args);
-- 
1.6.3.3