summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Blanc <guillaume.blanc@parrot.com>2017-08-22 16:48:34 +0200
committerDave Watson <davejwatson@fb.com>2017-08-22 11:50:02 -0700
commitc26b603cd0f4c26eaeafa7620c7b2f97e066ec32 (patch)
tree7249d36fee2d5e4ff92467766d07430bbc0eb126
parent5a491cb2d889f03952182d611d2ac6e15c3c5845 (diff)
downloadlibunwind-c26b603cd0f4c26eaeafa7620c7b2f97e066ec32.tar.gz
arm: argument type for unw_init_local2
I tried to build libunwind for arm target and got a build error. Type for "uc" argument is inconsistent between unw_init_local2 and unw_init_local_common. From 54fb6483e47916836c314a38715e8e0ce8c3da44 Mon Sep 17 00:00:00 2001 From: Guillaume Blanc <guillaume.blanc@parrot.com> Date: Tue, 22 Aug 2017 16:46:20 +0200 Subject: [PATCH] arm: Fix unw_init_local2 argument type
-rw-r--r--src/arm/Ginit_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/Ginit_local.c b/src/arm/Ginit_local.c
index 05bf96c2..65941c36 100644
--- a/src/arm/Ginit_local.c
+++ b/src/arm/Ginit_local.c
@@ -59,7 +59,7 @@ unw_init_local (unw_cursor_t *cursor, unw_context_t *uc)
}
PROTECTED int
-unw_init_local2 (unw_cursor_t *cursor, ucontext_t *uc, int flag)
+unw_init_local2 (unw_cursor_t *cursor, unw_context_t *uc, int flag)
{
if (!flag)
{