diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/nios2')
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/sys/ucontext.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h b/sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h index f840eff..3dc59d8 100644 --- a/sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h +++ b/sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h @@ -22,5 +22,5 @@ struct kernel_rt_sigframe { siginfo_t info; - struct ucontext uc; + ucontext_t uc; }; diff --git a/sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h b/sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h index 51b715c..b244478 100644 --- a/sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h @@ -19,7 +19,7 @@ #include <sys/ucontext.h> #include "kernel-features.h" -#define SIGCONTEXT siginfo_t *_si, struct ucontext * +#define SIGCONTEXT siginfo_t *_si, ucontext_t * #define GET_PC(ctx) ((void *) (ctx)->uc_mcontext.regs[27]) /* There is no reliable way to get the sigcontext unless we use a diff --git a/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h b/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h index af8d75c..4754657 100644 --- a/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/nios2/sys/ucontext.h @@ -1,4 +1,4 @@ -/* struct ucontext definition, Nios II version. +/* ucontext_t definition, Nios II version. Copyright (C) 2015-2017 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -50,10 +50,10 @@ typedef struct mcontext #undef __ctx /* Userlevel context. */ -typedef struct ucontext +typedef struct ucontext_t { unsigned long uc_flags; - struct ucontext *uc_link; + struct ucontext_t *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask; |