Commit 953a957d authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Just #define isc_refcount_increment0() to isc_refcount_increment()

parent 8537adef
Pipeline #7634 passed with stages
in 14 minutes and 15 seconds
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment