This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: towards 2.2.3


Hi,

I'd like to send a tiny patch for SH. These definitions of NFREG
conflict with those of NFS.

	kaz

--
	* sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
	* sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.

Index: ucontext.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/sh/sys/ucontext.h,v
retrieving revision 1.1
diff -u -r1.1 ucontext.h
--- ucontext.h	2000/06/12 20:14:04	1.1
+++ ucontext.h	2001/03/27 11:00:42
@@ -72,10 +72,10 @@
 typedef int freg_t;
 
 /* Number of FPU registers.  */
-#define NFREG	16
+#define NFPREG	16
 
 /* Structure to describe FPU registers.  */
-typedef freg_t fpregset_t[NFREG];
+typedef freg_t fpregset_t[NFPREG];
 
 /* Context to describe whole processor state.  */
 typedef struct
Index: ucontext.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sh/sys/ucontext.h,v
retrieving revision 1.1
diff -u -r1.1 ucontext.h
--- ucontext.h	2000/06/12 20:48:26	1.1
+++ ucontext.h	2001/03/27 11:23:12
@@ -79,10 +79,10 @@
 typedef int freg_t;
 
 /* Number of FPU registers.  */
-#define NFREG	16
+#define NFPREG	16
 
 /* Structure to describe FPU registers.  */
-typedef freg_t fpregset_t[NFREG];
+typedef freg_t fpregset_t[NFPREG];
 
 /* Context to describe whole processor state.  */
 typedef struct


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]