summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/u_atomic.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util/u_atomic.c b/src/util/u_atomic.c
index b32527fe347..e4bffa8534e 100644
--- a/src/util/u_atomic.c
+++ b/src/util/u_atomic.c
@@ -74,16 +74,4 @@ __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval)
return r;
}
-WEAK uint64_t
-__atomic_fetch_add_8(uint64_t *ptr, uint64_t val, int memorder)
-{
- return __sync_add_and_fetch(ptr, val);
-}
-
-WEAK uint64_t
-__atomic_fetch_sub_8(uint64_t *ptr, uint64_t val, int memorder)
-{
- return __sync_sub_and_fetch(ptr, val);
-}
-
#endif