blob: 2d1f78503d5aafe87eba09326bc3fd0ba38570a2 [file] [log] [blame]
Antonio Nino Diazcf0f8052018-08-17 10:45:47 +01001/*
2 * Copyright (c) 2012-2017 Roberto E. Vargas Caballero
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
Antonio Nino Diaz17605e72018-08-14 13:39:29 +01006/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05007 * Portions copyright (c) 2018, Arm Limited and Contributors.
Antonio Nino Diaz17605e72018-08-14 13:39:29 +01008 * All rights reserved.
9 */
Antonio Nino Diazcf0f8052018-08-17 10:45:47 +010010
Antonio Nino Diaz17605e72018-08-14 13:39:29 +010011#ifndef STDARG_H
12#define STDARG_H
Antonio Nino Diazcf0f8052018-08-17 10:45:47 +010013
14#define va_list __builtin_va_list
15#define va_start(ap, last) __builtin_va_start(ap, last)
16#define va_end(ap) __builtin_va_end(ap)
17#define va_copy(to, from) __builtin_va_copy(to, from)
18#define va_arg(to, type) __builtin_va_arg(to, type)
19
Antonio Nino Diaz17605e72018-08-14 13:39:29 +010020#endif /* STDARG_H */