1
0
Fork 0
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:
mostang.com!davidm 2004-05-04 20:13:07 +00:00
parent 907e49826a
commit d42705c5b7

View file

@ -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;