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