blob: c9824f6b1ec490f25b5385b0800932a6774cd9ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* 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 */
|