summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-20 21:16:27 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-25 04:00:43 +0200
commit6db6bf440bf4187d38484c97eccb0592de5743de (patch)
tree93756de5ff514b67b4a9349cec92416ee3aa62a5 /ipc
parent8d16b1aacd21123589c714a26b677eb1b2fe5186 (diff)
ipc/space: inline reference counting
* ipc/ipc_space.h (is_{reference,release}): Use the macro variant.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_space.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_space.h b/ipc/ipc_space.h
index 73c90ef..a2aac40 100644
--- a/ipc/ipc_space.h
+++ b/ipc/ipc_space.h
@@ -121,8 +121,8 @@ MACRO_END
extern void ipc_space_reference(struct ipc_space *space);
extern void ipc_space_release(struct ipc_space *space);
-#define is_reference(is) ipc_space_reference(is)
-#define is_release(is) ipc_space_release(is)
+#define is_reference(is) ipc_space_reference_macro(is)
+#define is_release(is) ipc_space_release_macro(is)
kern_return_t ipc_space_create(ipc_space_t *);
kern_return_t ipc_space_create_special(struct ipc_space **);