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

Revision 22036, 424 bytes checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22035, 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.3 2005-06-03 14:36:07 ghudson 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.