source: trunk/third/tcsh/mi.varargs.h @ 12039

Revision 12039, 421 bytes checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12038, which included commits to RCS files with non-trunk default branches.
Line 
1/* $Header: /afs/dev.mit.edu/source/repository/third/tcsh/mi.varargs.h,v 1.1.1.2 1998-10-03 21:09:53 danw Exp $ */
2/*
3 * mi.varargs.h: Correct varargs for minix
4 */
5#ifndef _h_mi_varargs
6#define _h_mi_varargs
7
8typedef 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 */
Note: See TracBrowser for help on using the repository browser.