shithub: scc

Download patch

ref: f01477198b79f9944f8c6e18f90a18c7f70d1365
parent: 7b8f9336dd0170c6dcaf12368b0c03c8019c5ab5
author: sin <sin@2f30.org>
date: Mon Oct 8 09:38:45 EDT 2018

Use typedef instead of #define for va_list

--- a/root/include/scc/stdarg.h
+++ b/root/include/scc/stdarg.h
@@ -1,7 +1,7 @@
 #ifndef _STDARG_H
 #define _STDARG_H
 
-#define va_list __builtin_va_list
+typedef __builtin_va_list 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)