Module: xenomai-jki
Branch: for-forge
Commit: 6c3cab64ef0215b47ea898ddf82c3cdfeb8bc42c
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=6c3cab64ef0215b47ea898ddf82c3cdfeb8bc42c

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Mon Dec  8 20:51:04 2014 +0100

alchemy/pipe: Use required CURRENT_IMPL wrapping on rt_pipe_create

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 lib/alchemy/pipe.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/alchemy/pipe.c b/lib/alchemy/pipe.c
index be974c0..dc3d8d3 100644
--- a/lib/alchemy/pipe.c
+++ b/lib/alchemy/pipe.c
@@ -129,8 +129,13 @@ DEFINE_LOOKUP_PRIVATE(pipe, RT_PIPE);
  *
  * @apitags{thread-unrestricted, switch-secondary}
  */
+#ifndef DOXYGEN_CPP
+CURRENT_IMPL(int, rt_pipe_create,
+            (RT_PIPE *pipe, const char *name, int minor, size_t poolsize))
+#else
 int rt_pipe_create(RT_PIPE *pipe,
                   const char *name, int minor, size_t poolsize)
+#endif
 {
        struct rtipc_port_label plabel;
        struct sockaddr_ipc saddr;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to