1988-04-15 14:45:04 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
1988-04-15 14:45:04 +00:00
|
|
|
|
1991-10-25 14:44:21 +00:00
|
|
|
#ifndef _VARARGS_H
|
|
|
|
#define _VARARGS_H
|
|
|
|
|
1988-04-15 14:45:04 +00:00
|
|
|
typedef char *va_list;
|
|
|
|
# define __va_sz(mode) (((sizeof(mode) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
|
|
|
|
# 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 += __va_sz(mode)) - __va_sz(mode))))
|
1991-10-25 14:44:21 +00:00
|
|
|
#endif /* _VARARGS_H */
|