blob: f0ddb6d4709cff52f6b20e678c07d5f5a97d37ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* $OpenBSD: varargs.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
#ifndef _MACHINE_VARARGS_H_
#define _MACHINE_VARARGS_H_
#include <machine/stdarg.h>
#define __va_ellipsis ...
#define va_alist __builtin_va_alist
#define va_dcl long __builtin_va_alist; __va_ellipsis
#undef va_start
#define va_start(ap) \
((ap) = (va_list)&__builtin_va_alist)
#endif /* !_MACHINE_VARARGS_H */
|