scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

stdarg.h (322B)


      1 #ifndef _STDARG_H
      2 #define _STDARG_H
      3 
      4 #define _NEED_VA_LIST
      5 #include <arch/cdefs.h>
      6 
      7 typedef __va_list va_list;
      8 
      9 #define va_start(ap, last) __builtin_va_start(ap, last)
     10 #define va_end(ap) __builtin_va_end(ap)
     11 #define va_copy(to, from) __builtin_va_copy(to, from)
     12 #define va_arg(to, type) __builtin_va_arg(to, type)
     13 
     14 #endif