2007-03-11 22:33:41 +00:00
|
|
|
/* $Header: /p/tcsh/cvsroot/tcsh/mi.varargs.h,v 1.2 1996/04/26 19:18:39 christos Exp $ */
|
2000-04-15 04:41:27 +00:00
|
|
|
/*
|
|
|
|
* mi.varargs.h: Correct varargs for minix
|
|
|
|
*/
|
|
|
|
#ifndef _h_mi_varargs
|
|
|
|
#define _h_mi_varargs
|
|
|
|
|
|
|
|
typedef char *va_list;
|
|
|
|
|
|
|
|
#define va_dcl int va_alist;
|
|
|
|
#define va_start(p) (p) = (va_list) &va_alist;
|
|
|
|
#define va_arg(p,type) ( (type *) ((p)+=sizeof(type)) )[-1]
|
|
|
|
#define va_end(p)
|
|
|
|
|
|
|
|
#endif /* _h_mi_varargs */
|