xref: /freebsd/contrib/tcsh/mi.varargs.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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