Module: xenomai-3
Branch: master
Commit: cd0d5bc7a242b4503b63ef6a7656a783f3cece12
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cd0d5bc7a242b4503b63ef6a7656a783f3cece12

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jul 27 14:56:34 2015 +0200

lib/trank: move RTDK placeholders to the proper file

---

 include/trank/rtdk.h      |    7 +++++++
 include/trank/rtdm/rtdm.h |    7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/trank/rtdk.h b/include/trank/rtdk.h
index ce44b30..6030785 100644
--- a/include/trank/rtdk.h
+++ b/include/trank/rtdk.h
@@ -20,4 +20,11 @@
 
 #include <stdio.h>
 
+static inline void rt_print_auto_init(int enable)
+{
+       /* stdio support is automatically enabled by libcobalt. */
+}
+
+static inline void rt_print_cleanup(void) { }
+
 #endif /* _XENOMAI_TRANK_RTDK_H */
diff --git a/include/trank/rtdm/rtdm.h b/include/trank/rtdm/rtdm.h
index 99cebd1..9a0c965 100644
--- a/include/trank/rtdm/rtdm.h
+++ b/include/trank/rtdm/rtdm.h
@@ -24,13 +24,6 @@
 extern "C" {
 #endif
 
-static inline void rt_print_auto_init(int enable)
-{
-       /* stdio support is automatically enabled by libcobalt. */
-}
-
-static inline void rt_print_cleanup(void) { }
-
 #ifndef RTDM_NO_DEFAULT_USER_API
 
 #define rt_dev_call(__call, __args...) \


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

Reply via email to