diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-29 19:34:51 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-29 19:34:51 +0000 |
commit | ae141adb11f65bc5b56133b4540fa007aeb14a91 (patch) | |
tree | 8b5c373b1382ec8c9c78b6d04d49e50526ac28df /libchill | |
parent | 317ab997bf9870b2d90fb92db665a799d9e03120 (diff) | |
download | gcc-ae141adb11f65bc5b56133b4540fa007aeb14a91.tar.gz |
* concatstr.c, exh.c: Include stdlib.h and string.h.
* delaycase.c, eqstr.c, memmove.c, printbuffer.c,
printevent.c, sendbuffer.c, waitbuffer.c: Include string.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libchill')
-rw-r--r-- | libchill/ChangeLog | 6 | ||||
-rw-r--r-- | libchill/concatstr.c | 5 | ||||
-rw-r--r-- | libchill/delaycase.c | 1 | ||||
-rw-r--r-- | libchill/eqstr.c | 2 | ||||
-rw-r--r-- | libchill/exh.c | 2 | ||||
-rw-r--r-- | libchill/ltstr.c | 2 | ||||
-rw-r--r-- | libchill/memmove.c | 4 | ||||
-rw-r--r-- | libchill/printbuffer.c | 1 | ||||
-rw-r--r-- | libchill/printevent.c | 1 | ||||
-rw-r--r-- | libchill/sendbuffer.c | 1 | ||||
-rw-r--r-- | libchill/waitbuffer.c | 1 |
11 files changed, 24 insertions, 2 deletions
diff --git a/libchill/ChangeLog b/libchill/ChangeLog index 7fefa5b663f..7094f7c991f 100644 --- a/libchill/ChangeLog +++ b/libchill/ChangeLog @@ -1,3 +1,9 @@ +2000-05-29 Zack Weinberg <zack@wolery.cumb.org> + + * concatstr.c, exh.c: Include stdlib.h and string.h. + * delaycase.c, eqstr.c, memmove.c, printbuffer.c, + printevent.c, sendbuffer.c, waitbuffer.c: Include string.h. + Mon Apr 3 01:20:50 2000 George France <france@crl.dec.com> * basicio.c (PATH_MAX): Always provide a definition. diff --git a/libchill/concatstr.c b/libchill/concatstr.c index 7cefc3c8c6a..866d3307ef5 100644 --- a/libchill/concatstr.c +++ b/libchill/concatstr.c @@ -1,5 +1,5 @@ /* Implement string-related runtime actions for CHILL. - Copyright (C) 1992,1993 Free Software Foundation, Inc. + Copyright (C) 1992,1993,2000 Free Software Foundation, Inc. Author: Bill Cox This file is part of GNU CC. @@ -26,6 +26,9 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <stdlib.h> +#include <string.h> + #define MIN(a, b) ((a) < (b) ? (a) : (b)) extern void cause_exception (char *exname, char *file, int lineno); diff --git a/libchill/delaycase.c b/libchill/delaycase.c index f66f10c8c40..3c2a3c7777a 100644 --- a/libchill/delaycase.c +++ b/libchill/delaycase.c @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> #include "rtltypes.h" #include "rts.h" diff --git a/libchill/eqstr.c b/libchill/eqstr.c index 37fc6a58b24..9261572a1f0 100644 --- a/libchill/eqstr.c +++ b/libchill/eqstr.c @@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> + extern void cause_exception (char *exname, char *file, int lineno); /* diff --git a/libchill/exh.c b/libchill/exh.c index 1c80776076f..8845d4336d5 100644 --- a/libchill/exh.c +++ b/libchill/exh.c @@ -30,6 +30,8 @@ Boston, MA 02111-1307, USA. */ #define __CHILL_LIB__ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <setjmp.h> #include "rtltypes.h" diff --git a/libchill/ltstr.c b/libchill/ltstr.c index 4f89284e5cd..7ddcfda5c3c 100644 --- a/libchill/ltstr.c +++ b/libchill/ltstr.c @@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> + #define MIN(a, b) ((a) < (b) ? (a) : (b)) /* diff --git a/libchill/memmove.c b/libchill/memmove.c index c5ec992bd84..a64175b0635 100644 --- a/libchill/memmove.c +++ b/libchill/memmove.c @@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> + #define MIN(a, b) ((a) < (b) ? (a) : (b)) @@ -52,7 +54,7 @@ void * memmove (s1, s2, n) void *s1; const void *s2; - int n; + unsigned int n; { char *sc1 = s1; const char *sc2 = s2; diff --git a/libchill/printbuffer.c b/libchill/printbuffer.c index 39e8527d3f8..a46cb5d5ef0 100644 --- a/libchill/printbuffer.c +++ b/libchill/printbuffer.c @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ the executable file might be covered by the GNU General Public License. */ #include <stdio.h> +#include <string.h> #include "rtltypes.h" #include "rts.h" diff --git a/libchill/printevent.c b/libchill/printevent.c index 03b8448ac53..88c4bc0acc7 100644 --- a/libchill/printevent.c +++ b/libchill/printevent.c @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ the executable file might be covered by the GNU General Public License. */ #include <stdio.h> +#include <string.h> #include "rtltypes.h" #include "rts.h" diff --git a/libchill/sendbuffer.c b/libchill/sendbuffer.c index 7cfe5b0deb9..7ca229c81be 100644 --- a/libchill/sendbuffer.c +++ b/libchill/sendbuffer.c @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> #include "rtltypes.h" #include "rts.h" diff --git a/libchill/waitbuffer.c b/libchill/waitbuffer.c index cc84295fedd..939c4fca7a1 100644 --- a/libchill/waitbuffer.c +++ b/libchill/waitbuffer.c @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ +#include <string.h> #include "rtltypes.h" #include "rts.h" |