Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
dc631e1281
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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.  */