diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa')
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/profil-counter.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/sys/ucontext.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/profil-counter.h b/sysdeps/unix/sysv/linux/hppa/profil-counter.h index 0bb6e37298..69cf8302cd 100644 --- a/sysdeps/unix/sysv/linux/hppa/profil-counter.h +++ b/sysdeps/unix/sysv/linux/hppa/profil-counter.h @@ -17,7 +17,7 @@ <http://www.gnu.org/licenses/>. */ static void -__profil_counter (int signr, siginfo_t *si, struct ucontext *uctx) +__profil_counter (int signr, siginfo_t *si, ucontext_t *uctx) { unsigned long ip = uctx->uc_mcontext.sc_iaoq[0] & ~0x3; profil_count ((void *) ip); diff --git a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h index 982b4c44c2..2fd7e911f7 100644 --- a/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h @@ -55,10 +55,10 @@ typedef struct fpregset typedef struct sigcontext mcontext_t; /* Userlevel context. */ -typedef struct ucontext +typedef struct ucontext_t { unsigned long int uc_flags; - struct ucontext *uc_link; + struct ucontext_t *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask; |