Just #define isc_refcount_increment0() to isc_refcount_increment()

This commit is contained in:
Ondřej Surý
2018-12-05 14:16:41 +01:00
parent 8537adef4c
commit 953a957dfa

View File

@@ -69,7 +69,7 @@ typedef atomic_uint_fast32_t isc_refcount_t;
* \returns previous value of reference counter.
*/
#define isc_refcount_increment0(target) \
atomic_fetch_add_explicit(target, 1, memory_order_relaxed)
isc_refcount_increment(target)
/** \def isc_refcount_increment(ref)
* \brief increases reference counter by 1.