fix clash between sys/user.h and kernel ptrace.h on powerpc[64], sh
[musl.git] / include / stdarg.h
blob3256f805001912e46a0cfdc23a8513bc6388de01
1 #ifndef _STDARG_H
2 #define _STDARG_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #define __NEED_va_list
10 #include <bits/alltypes.h>
12 #define va_start(v,l) __builtin_va_start(v,l)
13 #define va_end(v) __builtin_va_end(v)
14 #define va_arg(v,l) __builtin_va_arg(v,l)
15 #define va_copy(d,s) __builtin_va_copy(d,s)
17 #ifdef __cplusplus
19 #endif
21 #endif