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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Oct 31 11:12:50 2014 +0100

lib/cobalt: fix some prototypes for consistency with declarations

---

 lib/cobalt/ticks.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/cobalt/ticks.c b/lib/cobalt/ticks.c
index b1d4215..43f3e3a 100644
--- a/lib/cobalt/ticks.c
+++ b/lib/cobalt/ticks.c
@@ -30,7 +30,7 @@ static unsigned int tsc_scale, tsc_shift;
 static struct xnarch_u32frac tsc_frac;
 static struct xnarch_u32frac bln_frac;
 
-long long cobalt_ns_to_ticks(long long ns)
+xnsticks_t cobalt_ns_to_ticks(xnsticks_t ns)
 {
        return xnarch_nodiv_llimd(ns, tsc_frac.frac, tsc_frac.integ);
 }
@@ -53,7 +53,7 @@ unsigned long long cobalt_divrem_billion(unsigned long long 
value,
 
 #else /* !XNARCH_HAVE_NODIV_LLIMD */
 
-long long cobalt_ns_to_ticks(long long ns)
+xnsticks_t cobalt_ns_to_ticks(xnsticks_t ns)
 {
        return xnarch_llimd(ns, 1 << tsc_shift, tsc_scale);
 }


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

Reply via email to