mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:42:12 -04:00
Just #define isc_refcount_increment0() to isc_refcount_increment()
This commit is contained in:
parent
8537adef4c
commit
953a957dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue