diff options
Diffstat (limited to 'include/stdarg.h')
| -rw-r--r-- | include/stdarg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/stdarg.h b/include/stdarg.h new file mode 100644 index 00000000..29f43186 --- /dev/null +++ b/include/stdarg.h @@ -0,0 +1,11 @@ +#ifndef __STDARG_H +#define __STDARG_H + +typedef __builtin_va_list va_list; + +#define va_start(ap, ...) __builtin_va_start(ap, __VA_ARGS__) +#define va_end(ap) __builtin_va_end(ap) +#define va_arg(ap, type) __builtin_va_arg(ap, type) +#define va_copy(dest, src) __builtin_va_copy(dest, src) + +#endif |
