@@ -12,12 +12,10 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -OF_ASSUME_NONNULL_BEGIN - static OF_INLINE int of_atomic_int_add(volatile int *_Nonnull p, int i) { return (*p += i); } @@ -145,35 +143,21 @@ return false; } static OF_INLINE void -of_memory_barrier_sync(void) +of_memory_barrier(void) { /* nop */ } static OF_INLINE void -of_memory_barrier_enter(void) +of_memory_barrier_acquire(void) { /* nop */ } static OF_INLINE void -of_memory_barrier_exit(void) +of_memory_barrier_release(void) { /* nop */ } - -static OF_INLINE void -of_memory_barrier_producer(void) -{ - /* nop */ -} - -static OF_INLINE void -of_memory_barrier_consumer(void) -{ - /* nop */ -} - -OF_ASSUME_NONNULL_END