Module: xenomai-forge
Branch: next
Commit: c242dc8d17faed526073c80a1c0efad974895e87
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=c242dc8d17faed526073c80a1c0efad974895e87

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Jan 29 10:42:02 2014 +0100

nocore/atomic: fix typo

---

 include/nocore/atomic.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nocore/atomic.h b/include/nocore/atomic.h
index d4101c9..11187a4 100644
--- a/include/nocore/atomic.h
+++ b/include/nocore/atomic.h
@@ -45,7 +45,7 @@ typedef struct {
 #endif
 
 #ifndef atomic_sub_fetch
-#define atomic_sub_fetch(v, n) _sync_sub_and_fetch(&(v), n)
+#define atomic_sub_fetch(v, n) __sync_sub_and_fetch(&(v), n)
 #endif
 
 #ifndef atomic_add_fetch


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

Reply via email to