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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov 14 08:42:48 2011 +0100

copperplate/lock: remove duplicate definition

---

 include/copperplate/lock.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/copperplate/lock.h b/include/copperplate/lock.h
index 72c76c3..f06e3ac 100644
--- a/include/copperplate/lock.h
+++ b/include/copperplate/lock.h
@@ -190,7 +190,6 @@ int __check_cancel_type(const char *locktype);
 
 #define atomic_sub_fetch(v, n) __sync_sub_and_fetch(&(v), n)
 #define atomic_add_fetch(v, n) __sync_add_and_fetch(&(v), n)
-#define atomic_add_fetch(v, n) __sync_add_and_fetch(&(v), n)
 #define atomic_cmp_swap(ptr, old, new)  __sync_val_compare_and_swap(ptr, old, 
new)
 
 #endif /* _COPPERPLATE_LOCK_H */


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

Reply via email to