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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon May 11 16:58:40 2015 +0200

copperplate/clockobj: add missing explicit C bindings

---

 include/copperplate/clockobj.h |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/include/copperplate/clockobj.h b/include/copperplate/clockobj.h
index fdd4cae..2807d69 100644
--- a/include/copperplate/clockobj.h
+++ b/include/copperplate/clockobj.h
@@ -102,6 +102,15 @@ int clockobj_init(struct clockobj *clkobj,
 
 int clockobj_destroy(struct clockobj *clkobj);
 
+#ifndef CONFIG_XENO_LORES_CLOCK_DISABLED
+
+void __clockobj_ticks_to_timeout(struct clockobj *clkobj, clockid_t clk_id,
+                                ticks_t ticks, struct timespec *ts);
+
+void __clockobj_ticks_to_timespec(struct clockobj *clkobj,
+                                 ticks_t ticks, struct timespec *ts);
+#endif /* !CONFIG_XENO_LORES_CLOCK_DISABLED */
+
 #ifdef __cplusplus
 }
 #endif
@@ -212,12 +221,6 @@ static inline sticks_t clockobj_ticks_to_ns(struct 
clockobj *clkobj,
 
 #else /* !CONFIG_XENO_LORES_CLOCK_DISABLED */
 
-void __clockobj_ticks_to_timeout(struct clockobj *clkobj, clockid_t clk_id,
-                                ticks_t ticks, struct timespec *ts);
-
-void __clockobj_ticks_to_timespec(struct clockobj *clkobj,
-                                 ticks_t ticks, struct timespec *ts);
-
 static inline
 void clockobj_ticks_to_timespec(struct clockobj *clkobj,
                                ticks_t ticks, struct timespec *ts)


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

Reply via email to