Jelajahi Sumber

libc: sh: fixed typo in ucontext header

Fixed typo in ucontext header, NFPREG wrongly defined twice instead of
NGREG for general registers and NFPREG for floating point register.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Filippo Arcidiacono 13 tahun lalu
induk
melakukan
dc631e1281
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      libc/sysdeps/linux/sh/sys/ucontext.h

+ 2 - 2
libc/sysdeps/linux/sh/sys/ucontext.h

@@ -32,10 +32,10 @@
 typedef int greg_t;
 
 /* Number of general registers.  */
-#define NFPREG	16
+#define NGREG	16
 
 /* Container for all general registers.  */
-typedef greg_t gregset_t[NFPREG];
+typedef greg_t gregset_t[NGREG];
 
 #ifdef __USE_GNU
 /* Number of each register is the `gregset_t' array.  */