summaryrefslogtreecommitdiff
path: root/src/arm/Gglobal.c
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-09-21 07:43:41 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-09-28 14:51:21 +0300
commitaebba1f8a7dee9b9ae3e70128ad48de69ca90b15 (patch)
tree78dfa9b657f198fbe4350a1a8b4f586da33854a1 /src/arm/Gglobal.c
parent22aff2cc1fc1f0bdf8eb8dc2338c4b957ddacaf9 (diff)
downloadlibunwind-aebba1f8a7dee9b9ae3e70128ad48de69ca90b15.tar.gz
Apply `define_lock()'
We have a nice macro for defining pthread mutexes, use it.
Diffstat (limited to 'src/arm/Gglobal.c')
-rw-r--r--src/arm/Gglobal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/Gglobal.c b/src/arm/Gglobal.c
index ce692f7b..b3d3a6d8 100644
--- a/src/arm/Gglobal.c
+++ b/src/arm/Gglobal.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind_i.h"
#include "dwarf_i.h"
-HIDDEN pthread_mutex_t arm_lock = PTHREAD_MUTEX_INITIALIZER;
+HIDDEN define_lock (arm_lock);
HIDDEN int tdep_init_done;
/* Unwinding methods to use. See UNW_METHOD_ enums */