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