mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-24 20:23:41 +01:00
(unw_init_local): Use unw_context_t instead of ucontext_t.
(Logical change 1.219)
This commit is contained in:
parent
907e49826a
commit
d42705c5b7
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#ifdef UNW_REMOTE_ONLY
|
#ifdef UNW_REMOTE_ONLY
|
||||||
|
|
||||||
PROTECTED int
|
PROTECTED int
|
||||||
unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
|
unw_init_local (unw_cursor_t *cursor, unw_context_t *uc)
|
||||||
{
|
{
|
||||||
return -UNW_EINVAL;
|
return -UNW_EINVAL;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
|
||||||
#else /* !UNW_REMOTE_ONLY */
|
#else /* !UNW_REMOTE_ONLY */
|
||||||
|
|
||||||
PROTECTED int
|
PROTECTED int
|
||||||
unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
|
unw_init_local (unw_cursor_t *cursor, unw_context_t *uc)
|
||||||
{
|
{
|
||||||
struct cursor *c = (struct cursor *) cursor;
|
struct cursor *c = (struct cursor *) cursor;
|
||||||
unw_word_t sol;
|
unw_word_t sol;
|
||||||
|
|
Loading…
Reference in a new issue