xref: /freebsd-src/sys/riscv/include/stdarg.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
18d7e7a98SRuslan Bukin /*-
2*33e959abSWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3*33e959abSWarner Losh  *
4*33e959abSWarner Losh  * Copyright (c) 2017 Poul-Henning Kamp.  All rights reserved.
58d7e7a98SRuslan Bukin  *
68d7e7a98SRuslan Bukin  * Redistribution and use in source and binary forms, with or without
78d7e7a98SRuslan Bukin  * modification, are permitted provided that the following conditions
88d7e7a98SRuslan Bukin  * are met:
98d7e7a98SRuslan Bukin  * 1. Redistributions of source code must retain the above copyright
108d7e7a98SRuslan Bukin  *    notice, this list of conditions and the following disclaimer.
118d7e7a98SRuslan Bukin  * 2. Redistributions in binary form must reproduce the above copyright
128d7e7a98SRuslan Bukin  *    notice, this list of conditions and the following disclaimer in the
138d7e7a98SRuslan Bukin  *    documentation and/or other materials provided with the distribution.
148d7e7a98SRuslan Bukin  *
15*33e959abSWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
168d7e7a98SRuslan Bukin  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
178d7e7a98SRuslan Bukin  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*33e959abSWarner Losh  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
198d7e7a98SRuslan Bukin  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
208d7e7a98SRuslan Bukin  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
218d7e7a98SRuslan Bukin  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
228d7e7a98SRuslan Bukin  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
238d7e7a98SRuslan Bukin  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
248d7e7a98SRuslan Bukin  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
258d7e7a98SRuslan Bukin  * SUCH DAMAGE.
268d7e7a98SRuslan Bukin  */
278d7e7a98SRuslan Bukin 
288d7e7a98SRuslan Bukin #ifndef _MACHINE_STDARG_H_
298d7e7a98SRuslan Bukin #define	_MACHINE_STDARG_H_
308d7e7a98SRuslan Bukin 
31*33e959abSWarner Losh #include <sys/_stdarg.h>
328d7e7a98SRuslan Bukin 
33*33e959abSWarner Losh #ifndef va_start
34*33e959abSWarner Losh   #error this file needs to be ported to your compiler
358d7e7a98SRuslan Bukin #endif
368d7e7a98SRuslan Bukin 
378d7e7a98SRuslan Bukin #endif /* !_MACHINE_STDARG_H_ */
38