diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-26 06:25:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-26 06:25:11 +0000 |
commit | 3b6ef69c95a4ebb6b1cce205e1c1a1b9edbe0418 (patch) | |
tree | ddb1fe10a62a916f23ba458983ff7dbb643396cd /sys/compat/svr4 | |
parent | 9edc32a66c05b6833b8d2274526c21ec49520eaa (diff) |
remove duplicate syscallargs() macros
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_ipc.c | 4 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index c7e9b38e666..a22330b48fe 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_ipc.c,v 1.6 2001/03/16 01:24:30 csapuntz Exp $ */ +/* $OpenBSD: svr4_ipc.c,v 1.7 2001/08/26 06:25:10 deraadt Exp $ */ /* $NetBSD: svr4_ipc.c,v 1.3 1997/03/30 17:21:02 christos Exp $ */ /* @@ -55,8 +55,6 @@ #include <compat/svr4/svr4_util.h> #include <compat/svr4/svr4_ipc.h> -#define syscallarg(x) union { x datum; register_t pad; } - #if defined(SYSVMSG) || defined(SYSVSHM) || defined(SYSVSEM) static void svr4_to_bsd_ipc_perm __P((const struct svr4_ipc_perm *, struct ipc_perm *)); diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index cc4837d202c..27fe41e84a3 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_misc.c,v 1.33 2001/08/22 10:29:42 niklas Exp $ */ +/* $OpenBSD: svr4_misc.c,v 1.34 2001/08/26 06:25:10 deraadt Exp $ */ /* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */ /* @@ -891,8 +891,6 @@ svr4_sys_pgrpsys(p, v, retval) } } -#define syscallarg(x) union { x datum; register_t pad; } - struct svr4_hrtcntl_args { syscallarg(int) cmd; syscallarg(int) fun; |