xref: /freebsd/contrib/tcsh/mi.varargs.h (revision 640235e2c2ba32947f7c59d168437ffa1280f1e6)
1 /* $Header: /p/tcsh/cvsroot/tcsh/mi.varargs.h,v 1.2 1996/04/26 19:18:39 christos Exp $ */
2 /*
3  * mi.varargs.h: Correct varargs for minix
4  */
5 #ifndef _h_mi_varargs
6 #define _h_mi_varargs
7 
8 typedef char *va_list;
9 
10 #define  va_dcl		int va_alist;
11 #define  va_start(p)	(p) = (va_list) &va_alist;
12 #define  va_arg(p,type)	( (type *) ((p)+=sizeof(type)) )[-1]
13 #define  va_end(p)
14 
15 #endif /* _h_mi_varargs */
16