mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. mach/message.h: Removed LINTLIBRARY #ifdefs. --- include/mach/mach_traps.h | 20 -------------------- include/mach/message.h | 34 +--------------------------------- 2 files changed, 1 insertions(+), 53 deletions(-)
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.h> 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..1e6af40 100644 --- a/include/mach/message.h +++ b/include/mach/message.h @@ -383,8 +383,7 @@ typedef kern_return_t mach_msg_return_t; extern mach_msg_return_t -mach_msg_trap -#if defined(c_plusplus) || defined(__STDC__) +mach_msg_trap (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; -- 1.7.3.4 -- 1w6 sie zu achten, sie alle zu finden, in Spiele zu leiten und sacht zu verbinden. → http://1w6.org
signature.asc
Description: This is a digitally signed message part.