NetBSD/sys/compat/irix/irix_syscallargs.h

35 lines
758 B
C

/* $NetBSD: irix_syscallargs.h,v 1.2 2001/11/13 02:08:32 lukem Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 2001/09/22 18:51:36 manu Exp
*/
#ifndef _IRIX_SYS__SYSCALLARGS_H_
#define _IRIX_SYS__SYSCALLARGS_H_
#ifdef syscallarg
#undef syscallarg
#endif
#define syscallarg(x) \
union { \
register_t pad; \
struct { x datum; } le; \
struct { /* LINTED zero array dimension */ \
int8_t pad[ /* CONSTCOND */ \
(sizeof (register_t) < sizeof (x)) \
? 0 \
: sizeof (register_t) - sizeof (x)]; \
x datum; \
} be; \
}
/*
* System call prototypes.
*/
#endif /* _IRIX_SYS__SYSCALLARGS_H_ */