From 4546c75d685475d8b9f215b588364e1d1bbd0b79 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 19:21:29 +0200 Subject: MUCH work in libc Also cleaned up some syscalls etc --- src/userspace/libc/stdarg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/userspace/libc/stdarg.h') diff --git a/src/userspace/libc/stdarg.h b/src/userspace/libc/stdarg.h index 9442742..2f45f23 100644 --- a/src/userspace/libc/stdarg.h +++ b/src/userspace/libc/stdarg.h @@ -1,6 +1,9 @@ #ifndef MELVIX_STDARG_H #define MELVIX_STDARG_H -// va_{list,start,arg,end,copy} +typedef __builtin_va_list va_list; +#define va_start __builtin_va_start +#define va_end __builtin_va_end +#define va_arg __builtin_va_arg #endif \ No newline at end of file -- cgit v1.2.3