Documentation: Fix sphinx configuration
[coreboot.git] / src / include / stdarg.h
blobc5a8cd8dbe964466f46e6475db00d4edaa1ddce5
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /**
4 * Note: This file is only for POSIX compatibility, and is meant to be
5 * chain-included via string.h.
6 */
8 #ifndef STDARG_H
9 #define STDARG_H
11 #include <stddef.h>
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 typedef __builtin_va_list va_list;
18 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
20 #endif /* STDARG_H */