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