From f1f7313e73ae48157f2cba731f7f81d8af461b40 Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Mon, 18 Apr 2011 22:13:35 +0200 Subject: Removed deprecated LINTLIBRARY #ifdefs mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. mach/message.h: Removed LINTLIBRARY #ifdefs. --- include/mach/mach_traps.h | 20 -------------------- include/mach/message.h | 32 -------------------------------- 2 files changed, 52 deletions(-) (limited to 'include') diff --git a/include/mach/mach_traps.h b/include/mach/mach_traps.h index e6ea3a0..0433707 100644 --- a/include/mach/mach_traps.h +++ b/include/mach/mach_traps.h @@ -36,38 +36,18 @@ #include mach_port_t mach_reply_port -#ifdef LINTLIBRARY - () - { return MACH_PORT_NULL; } -#else /* LINTLIBRARY */ (void); -#endif /* LINTLIBRARY */ mach_port_t mach_thread_self -#ifdef LINTLIBRARY - () - { return MACH_PORT_NULL; } -#else /* LINTLIBRARY */ (void); -#endif /* LINTLIBRARY */ #ifdef __386BSD__ #undef mach_task_self #endif mach_port_t mach_task_self -#ifdef LINTLIBRARY - () - { return MACH_PORT_NULL; } -#else /* LINTLIBRARY */ (void); -#endif /* LINTLIBRARY */ mach_port_t mach_host_self -#ifdef LINTLIBRARY - () - { return MACH_PORT_NULL; } -#else /* LINTLIBRARY */ (void); -#endif /* LINTLIBRARY */ #endif /* _MACH_MACH_TRAPS_H_ */ diff --git a/include/mach/message.h b/include/mach/message.h index 89c3df3..f78e978 100644 --- a/include/mach/message.h +++ b/include/mach/message.h @@ -384,7 +384,6 @@ typedef kern_return_t mach_msg_return_t; extern mach_msg_return_t mach_msg_trap -#if defined(c_plusplus) || defined(__STDC__) (mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, @@ -392,25 +391,9 @@ mach_msg_trap mach_port_t rcv_name, mach_msg_timeout_t timeout, mach_port_t notify); -#else /* c_plusplus || __STDC__ */ -#ifdef LINTLIBRARY - (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; -{ return MACH_RCV_SUCCESS; } -#else /* LINTLIBRARY */ - (); -#endif /* LINTLIBRARY */ -#endif /* c_plusplus || __STDC__ */ extern mach_msg_return_t mach_msg -#if defined(c_plusplus) || defined(__STDC__) (mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, @@ -418,21 +401,6 @@ mach_msg mach_port_t rcv_name, mach_msg_timeout_t timeout, mach_port_t notify); -#else /* c_plusplus || __STDC__ */ -#ifdef LINTLIBRARY - (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; -{ return MACH_RCV_SUCCESS; } -#else /* LINTLIBRARY */ - (); -#endif /* LINTLIBRARY */ -#endif /* c_plusplus || __STDC__ */ extern __typeof (mach_msg) __mach_msg; extern __typeof (mach_msg_trap) __mach_msg_trap; -- cgit v1.2.3