summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArne Babenhauserheide <arne_bab@web.de>2011-04-18 22:13:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-04-18 22:14:19 +0200
commitf1f7313e73ae48157f2cba731f7f81d8af461b40 (patch)
treeb69e65f1d51d79c937edd34e4021dbcb61be6a0c /include
parent81ec2361de5a7390d303c5ae478fc27b891e055d (diff)
Removed deprecated LINTLIBRARY #ifdefs
mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. mach/message.h: Removed LINTLIBRARY #ifdefs.
Diffstat (limited to 'include')
-rw-r--r--include/mach/mach_traps.h20
-rw-r--r--include/mach/message.h32
2 files changed, 0 insertions, 52 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..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;