scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 8a4b0a84f0f570f77c519de976244a695577854b
parent bb4ebb8e2d2c0b860bb27cfbd29e0424ed9e4ee1
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sat, 10 Jun 2017 08:57:31 +0200

[libc] Fix stdarg macros

Diffstat:
Mlibc/include/stdarg.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libc/include/stdarg.h b/libc/include/stdarg.h @@ -3,9 +3,9 @@ #define _STDARG_H #define va_list __builtin_va_list -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#define va_end(ap) __builtin_va_end((ap)) -#define va_copy(to, from) __builtin_va_copy((to), (from)) -#define va_arg(to, type) __builtin_va_arg((to), (type)) +#define va_start(ap, last) __builtin_va_start(ap, last) +#define va_end(ap) __builtin_va_end(ap) +#define va_copy(to, from) __builtin_va_copy(to, from) +#define va_arg(to, type) __builtin_va_arg(to, type) #endif