diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-11-03 15:09:01 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-11-03 15:09:01 +0000 |
commit | 42952002b38f4f6ec38bb7d81bf213231ec724c6 (patch) | |
tree | ce8aa058f887cbba3dc3e945be8790dd684cfd10 /atomic | |
parent | 09ecd1c5e6a3241a51ed9c4333beca2f19c591a1 (diff) | |
download | apr-42952002b38f4f6ec38bb7d81bf213231ec724c6.tar.gz |
Follow up to r1894621: restore apr_atomic_init::apr__atomic_generic64_init().
Even if apr__atomic_generic64_init() is currently a noop when !APR_HAS_THREADS,
it may change later without apr_atomic_init() noticing (thanks RĂ¼diger).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/unix/mutex.c b/atomic/unix/mutex.c index b9d1cedc9..78ad75336 100644 --- a/atomic/unix/mutex.c +++ b/atomic/unix/mutex.c @@ -89,7 +89,7 @@ static APR_INLINE apr_thread_mutex_t *mutex_hash(volatile apr_uint32_t *mem) APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p) { - return APR_SUCCESS; + return apr__atomic_generic64_init(p); } #endif /* APR_HAS_THREADS */ |