Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / include / nolibc / stdarg.h
blobc628b5783da6c27a56c5b23138166982c80e095a
1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
2 /*
3 * Variadic argument support for NOLIBC
4 * Copyright (C) 2005-2020 Rich Felker, et al.
5 */
7 #ifndef _NOLIBC_STDARG_H
8 #define _NOLIBC_STDARG_H
10 typedef __builtin_va_list va_list;
11 #define va_start(v, l) __builtin_va_start(v, l)
12 #define va_end(v) __builtin_va_end(v)
13 #define va_arg(v, l) __builtin_va_arg(v, l)
14 #define va_copy(d, s) __builtin_va_copy(d, s)
16 #endif /* _NOLIBC_STDARG_H */