diff options
author | Andreas Jaeger <aj@suse.de> | 2000-07-05 15:38:00 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-07-05 15:38:00 +0000 |
commit | a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07 (patch) | |
tree | 46cbeff633d48feda508aa9afb4c64afc6615453 /sysdeps | |
parent | d41293c7d417075f6bbdbe71fb35d6aac847467b (diff) | |
download | glibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.zip glibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.tar.gz glibc-a2616aed35f4953eee78bc9ee92d8d4a9ebb7e07.tar.bz2 |
Update.
* sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
(_FPU_GETCW): Remove extra colon.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/memchr.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/rawmemchr.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/strchr.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/strchrnul.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/strlen.c | 3 | ||||
-rw-r--r-- | sysdeps/mips/fpu_control.h | 6 |
6 files changed, 13 insertions, 8 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c index 9ea9ce2..60bd8c6 100644 --- a/sysdeps/generic/memchr.c +++ b/sysdeps/generic/memchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,96,97,99,2000 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and commentary by Jim Blandy (jimb@ai.mit.edu); @@ -34,6 +34,7 @@ #if defined (_LIBC) # include <string.h> # include <memcopy.h> +# include <stdlib.h> #else # define reg_char char #endif diff --git a/sysdeps/generic/rawmemchr.c b/sysdeps/generic/rawmemchr.c index e874dca..2e1d807 100644 --- a/sysdeps/generic/rawmemchr.c +++ b/sysdeps/generic/rawmemchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,96,97,99,2000 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and commentary by Jim Blandy (jimb@ai.mit.edu); @@ -34,6 +34,7 @@ #if defined (_LIBC) # include <string.h> # include <memcopy.h> +# include <stdlib.h> #else # define reg_char char #endif diff --git a/sysdeps/generic/strchr.c b/sysdeps/generic/strchr.c index 1103906..f9e6344 100644 --- a/sysdeps/generic/strchr.c +++ b/sysdeps/generic/strchr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 93, 94, 95, 96, 97, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,94,95,96,97,99,2000 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and bug fix and commentary by Jim Blandy (jimb@ai.mit.edu); @@ -22,6 +22,7 @@ #include <string.h> #include <memcopy.h> +#include <stdlib.h> #undef strchr diff --git a/sysdeps/generic/strchrnul.c b/sysdeps/generic/strchrnul.c index b88fecb..f5e8d84 100644 --- a/sysdeps/generic/strchrnul.c +++ b/sysdeps/generic/strchrnul.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 93, 94, 95, 96, 97, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991,93,94,95,96,97,99,2000 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and bug fix and commentary by Jim Blandy (jimb@ai.mit.edu); @@ -22,6 +22,7 @@ #include <string.h> #include <memcopy.h> +#include <stdlib.h> #undef __strchrnul #undef strchrnul diff --git a/sysdeps/generic/strlen.c b/sysdeps/generic/strlen.c index b031df8..8652fd4 100644 --- a/sysdeps/generic/strlen.c +++ b/sysdeps/generic/strlen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993, 1997, 2000 Free Software Foundation, Inc. Written by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se); commentary by Jim Blandy (jimb@ai.mit.edu). @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <string.h> +#include <stdlib.h> #undef strlen diff --git a/sysdeps/mips/fpu_control.h b/sysdeps/mips/fpu_control.h index 789a614..c5c83e0 100644 --- a/sysdeps/mips/fpu_control.h +++ b/sysdeps/mips/fpu_control.h @@ -1,5 +1,5 @@ /* FPU control word bits. Mips version. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Olaf Flebbe and Ralf Baechle. @@ -86,10 +86,10 @@ #define _FPU_IEEE 0x00000F80 /* Type of the control word. */ -typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__))); +typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__))); /* Macros for accessing the hardware control word. */ -#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw) : ) +#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw)) #define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw)) /* Default control word set at startup. */ |