diff options
author | obrien <obrien@FreeBSD.org> | 2000-04-15 04:41:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-04-15 04:41:27 +0000 |
commit | 4ad28cefef28ce6bdb44a0532cfe20a2076bc694 (patch) | |
tree | 7679c440a91912ee9586cee3ebab24596c0fe1c4 /contrib/tcsh/mi.varargs.h | |
download | FreeBSD-src-4ad28cefef28ce6bdb44a0532cfe20a2076bc694.zip FreeBSD-src-4ad28cefef28ce6bdb44a0532cfe20a2076bc694.tar.gz |
Import the latest version of the 44BSD C-shell -- tcsh-6.09.
Diffstat (limited to 'contrib/tcsh/mi.varargs.h')
-rw-r--r-- | contrib/tcsh/mi.varargs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/tcsh/mi.varargs.h b/contrib/tcsh/mi.varargs.h new file mode 100644 index 0000000..7377075 --- /dev/null +++ b/contrib/tcsh/mi.varargs.h @@ -0,0 +1,15 @@ +/* $Header: /src/pub/tcsh/mi.varargs.h,v 1.2 1996/04/26 19:18:39 christos Exp $ */ +/* + * 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 */ |