freebsd-src/contrib/tcsh/mi.varargs.h
Brooks Davis cc698b4900 Update tcsh to 6.21.00.
This is a bugfix release with no new features.  A number of these fixes
were previously merged into our tree.

Sponsored by:	DARPA, AFRL
2019-10-08 20:59:31 +00:00

15 lines
306 B
C

/*
* 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 */