summaryrefslogtreecommitdiff
path: root/ipc/ipc_mqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_mqueue.c')
-rw-r--r--ipc/ipc_mqueue.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ipc/ipc_mqueue.c b/ipc/ipc_mqueue.c
index 5447c49..17af1ff 100644
--- a/ipc/ipc_mqueue.c
+++ b/ipc/ipc_mqueue.c
@@ -59,7 +59,7 @@ extern ipc_kmsg_t norma_ipc_handoff_msg;
extern mach_msg_size_t norma_ipc_handoff_max_size;
extern mach_msg_size_t norma_ipc_handoff_msg_size;
extern ipc_kmsg_t norma_ipc_kmsg_accept();
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
/*
* Routine: ipc_mqueue_init
@@ -220,7 +220,7 @@ ipc_mqueue_send(kmsg, option, time_out)
ip_unlock(port);
return mr;
}
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
for (;;) {
ipc_thread_t self;
@@ -245,7 +245,7 @@ ipc_mqueue_send(kmsg, option, time_out)
#if NORMA_IPC
/* XXX until ipc_kmsg_destroy is fixed... */
norma_ipc_finish_receiving(&kmsg);
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
ipc_kmsg_destroy(kmsg);
return MACH_MSG_SUCCESS;
}
@@ -332,7 +332,7 @@ ipc_mqueue_send(kmsg, option, time_out)
#if NORMA_IPC
/* XXX until ipc_kmsg_destroy is fixed... */
norma_ipc_finish_receiving(&kmsg);
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
ipc_kmsg_destroy(kmsg);
return MACH_MSG_SUCCESS;
}
@@ -379,7 +379,7 @@ ipc_mqueue_send(kmsg, option, time_out)
}
norma_ipc_handoff_msg_size = kmsg->ikm_header.msgh_size;
}
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
for (;;) {
receiver = ipc_thread_queue_first(receivers);
if (receiver == ITH_NULL) {
@@ -595,7 +595,7 @@ ipc_mqueue_receive(
return MACH_RCV_TOO_LARGE;
}
}
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
if (kmsg != IKM_NULL) {
/* check space requirements */
@@ -747,7 +747,7 @@ ipc_mqueue_receive(
#if NORMA_IPC
norma_ipc_finish_receiving(&kmsg);
-#endif NORMA_IPC
+#endif /* NORMA_IPC */
*kmsgp = kmsg;
*seqnop = seqno;
return MACH_MSG_SUCCESS;