Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Sat, 8 Jun 1996 15:21:45 +0000 (15:21 +0000)
committerroland <roland>
Sat, 8 Jun 1996 15:21:45 +0000 (15:21 +0000)
* mach/mach_shortcuts.c: Obsolete file removed.
* mach/mach_syscalls.h: Likewise.

mach/mach_shortcuts.c [deleted file]
mach/mach_syscalls.h [deleted file]

diff --git a/mach/mach_shortcuts.c b/mach/mach_shortcuts.c
deleted file mode 100644 (file)
index ef1792b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <mach/mach_types.h>
-#include <mach/mach_port.h>
-
-#define        SHORTCUT(name, number, args, typed_args)                              \
-kern_return_t __##name typed_args                                            \
-{                                                                            \
-  kern_return_t ret = __syscall_##name args;                                 \
-  if (ret == MACH_SEND_INTERRUPTED)                                          \
-    ret = __mig_##name args;                                                 \
-  return ret;                                                                \
-}
-
-#include "mach_shortcuts.h"
diff --git a/mach/mach_syscalls.h b/mach/mach_syscalls.h
deleted file mode 100644 (file)
index 8b33dc4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-SYSCALL (mach_msg_trap, -25,
-        mach_msg_return_t,
-        (msg, option, send_size,
-         rcv_size, rcv_name, timeout, notify),
-        (mach_msg_header_t *msg,
-         mach_msg_option_t option,
-         mach_msg_size_t send_size,
-         mach_msg_size_t rcv_size,
-         mach_port_t rcv_name,
-         mach_msg_timeout_t timeout,
-         mach_port_t notify))
-
-SYSCALL (mach_reply_port, -26,
-        mach_port_t,
-        (),
-        (void))
-
-SYSCALL (mach_thread_self, -27,
-        mach_port_t,
-        (),
-        (void))
-
-SYSCALL (mach_task_self, -28,
-        mach_port_t,
-        (),
-        (void))
-
-SYSCALL (mach_host_self, -29,
-        mach_port_t,
-        (),
-        (void))