]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/musl/include/stdarg.h
Fix miscellaneous lint warnings.
[wasi-libc.git] / libc-top-half / musl / include / stdarg.h
CommitLineData
7ba6adfc 1#ifdef __wasilibc_unmodified_upstream /* Use the compiler's stdarg.h */
320054e8
DG
2#ifndef _STDARG_H
3#define _STDARG_H
4
320054e8
DG
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9#define __NEED_va_list
10
11#include <bits/alltypes.h>
12
13#define va_start(v,l) __builtin_va_start(v,l)
14#define va_end(v) __builtin_va_end(v)
15#define va_arg(v,l) __builtin_va_arg(v,l)
16#define va_copy(d,s) __builtin_va_copy(d,s)
17
18#ifdef __cplusplus
19}
7ba6adfc
DG
20#endif
21
320054e8
DG
22#endif
23#else
24/* Just use the compiler's stdarg.h. */
25#include_next <stdarg.h>
26#endif