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