diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-21 07:43:41 +0300 |
---|---|---|
committer | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-28 14:51:21 +0300 |
commit | aebba1f8a7dee9b9ae3e70128ad48de69ca90b15 (patch) | |
tree | 78dfa9b657f198fbe4350a1a8b4f586da33854a1 /src/arm/Gglobal.c | |
parent | 22aff2cc1fc1f0bdf8eb8dc2338c4b957ddacaf9 (diff) | |
download | libunwind-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.c | 2 |
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 */ |