aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/unix/sysv/linux/mips/sys/ucontext.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/sys/ucontext.h b/sysdeps/unix/sysv/linux/mips/sys/ucontext.h
index 84c6d02297..b015898c2d 100644
--- a/sysdeps/unix/sysv/linux/mips/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/mips/sys/ucontext.h
@@ -37,15 +37,15 @@ typedef unsigned long int greg_t;
#define NFPREG 33
/* Container for all general registers. */
-typedef greg_t gregset_t[NGREG];
-/* gregset_t must be an array. The array correspondends to:
+/* gregset_t must be an array. The below declared array corresponds to:
typedef struct gregset {
greg_t g_regs[32];
greg_t g_hi;
greg_t g_lo;
greg_t g_pad[3];
-} gregset_t;
-*/
+} gregset_t; */
+typedef greg_t gregset_t[NGREG];
+
/* Container for all FPU registers. */
typedef struct fpregset {
union {