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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Jul 21 15:46:27 2009 +0200

sim: inline xnarch_divrem_billion() to avoid multiple definitions

---

 include/asm-sim/system.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-sim/system.h b/include/asm-sim/system.h
index 1df58c6..b8ccd8e 100644
--- a/include/asm-sim/system.h
+++ b/include/asm-sim/system.h
@@ -418,8 +418,8 @@ static inline unsigned long long xnarch_ns_to_tsc (unsigned 
long long ns)
     return ns;
 }
 
-unsigned long long xnarch_divrem_billion(unsigned long long value,
-                                        unsigned long *rem)
+static unsigned long long xnarch_divrem_billion(unsigned long long value,
+                                               unsigned long *rem)
 {
        unsigned long long r;
        r = value / 1000000000ULL;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to