aboutsummaryrefslogtreecommitdiff
path: root/include/mpw/varargs.h
blob: acb9e4504a2dfa0767b353504ff4a197bc3cd520 (plain)
1
2
3
4
5
6
7
8
9
/* varargs.h. */
#ifndef __va_list__
#define __va_list__
typedef char *va_list;
#endif
#define va_dcl int va_alist;
#define va_start(list) list = (char *) &va_alist
#define va_end(list)
#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]