xref: /freebsd/contrib/tcsh/mi.varargs.h (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
1 /*
2  * mi.varargs.h: Correct varargs for minix
3  */
4 #ifndef _h_mi_varargs
5 #define _h_mi_varargs
6 
7 typedef char *va_list;
8 
9 #define  va_dcl		int va_alist;
10 #define  va_start(p)	(p) = (va_list) &va_alist;
11 #define  va_arg(p,type)	( (type *) ((p)+=sizeof(type)) )[-1]
12 #define  va_end(p)
13 
14 #endif /* _h_mi_varargs */
15