From dc631e1281177736ee7b39f2d67ca84f8db0e483 Mon Sep 17 00:00:00 2001 From: Filippo Arcidiacono Date: Tue, 12 Jun 2012 11:05:25 +0200 Subject: 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 Signed-off-by: Carmelo Amoroso --- libc/sysdeps/linux/sh/sys/ucontext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/sh/sys/ucontext.h b/libc/sysdeps/linux/sh/sys/ucontext.h index 4ed2484bc..acf5ba777 100644 --- a/libc/sysdeps/linux/sh/sys/ucontext.h +++ b/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. */ -- cgit v1.2.3