]> granicus.if.org Git - libatomic_ops/commit
Fix compiler warning in atomic_ops.c (define 'init_lock' only if used)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 21 Oct 2011 11:32:19 +0000 (15:32 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 21 Oct 2011 12:15:28 +0000 (16:15 +0400)
commit57478c3581c29e9fd76ffc8df7e9b635100836a1
treed918f3bc9efb16f9c4ce87c8d1f1868477bf5b49
parentba3f9cb475ed53014e9b5017771fb0b4b4aa7433
Fix compiler warning in atomic_ops.c (define 'init_lock' only if used)

* src/atomic_ops.c (init_lock): Define only unless AO_USE_NO_SIGNALS.
src/atomic_ops.c