summaryrefslogtreecommitdiff
path: root/include/mach/thread_special_ports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach/thread_special_ports.h')
-rw-r--r--include/mach/thread_special_ports.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/mach/thread_special_ports.h b/include/mach/thread_special_ports.h
index aa4efe7..33e3a1f 100644
--- a/include/mach/thread_special_ports.h
+++ b/include/mach/thread_special_ports.h
@@ -56,20 +56,4 @@
#define thread_set_exception_port(thread, port) \
(thread_set_special_port((thread), THREAD_EXCEPTION_PORT, (port)))
-
-/* Definitions for the old IPC interface. */
-
-#if MACH_IPC_COMPAT
-
-#define THREAD_REPLY_PORT 2 /* Default reply port for the thread's
- use. */
-
-#define thread_get_reply_port(thread, port) \
- (thread_get_special_port((thread), THREAD_REPLY_PORT, (port)))
-
-#define thread_set_reply_port(thread, port) \
- (thread_set_special_port((thread), THREAD_REPLY_PORT, (port)))
-
-#endif /* MACH_IPC_COMPAT */
-
#endif /* _MACH_THREAD_SPECIAL_PORTS_H_ */