From: Zack Weinberg Date: Mon, 29 May 2000 19:34:51 +0000 (+0000) Subject: concatstr.c, exh.c: Include stdlib.h and string.h. X-Git-Tag: prereleases/libstdc++-2.92~6102 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=4e2c85f6d2392685d5ff19492385d06f982a2c14;p=gcc.git concatstr.c, exh.c: Include stdlib.h and string.h. * 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. From-SVN: r34255 --- diff --git a/libchill/ChangeLog b/libchill/ChangeLog index 7fefa5b663f6..7094f7c991fe 100644 --- a/libchill/ChangeLog +++ b/libchill/ChangeLog @@ -1,3 +1,9 @@ +2000-05-29 Zack Weinberg + + * 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 * basicio.c (PATH_MAX): Always provide a definition. diff --git a/libchill/concatstr.c b/libchill/concatstr.c index 7cefc3c8c6a0..866d3307ef57 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 +#include + #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 f66f10c8c409..3c2a3c7777ad 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 #include "rtltypes.h" #include "rts.h" diff --git a/libchill/eqstr.c b/libchill/eqstr.c index 37fc6a58b245..9261572a1f00 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 + extern void cause_exception (char *exname, char *file, int lineno); /* diff --git a/libchill/exh.c b/libchill/exh.c index 1c80776076fb..8845d4336d56 100644 --- a/libchill/exh.c +++ b/libchill/exh.c @@ -30,6 +30,8 @@ Boston, MA 02111-1307, USA. */ #define __CHILL_LIB__ #include +#include +#include #include #include "rtltypes.h" diff --git a/libchill/ltstr.c b/libchill/ltstr.c index 4f89284e5cda..7ddcfda5c3c9 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 + #define MIN(a, b) ((a) < (b) ? (a) : (b)) /* diff --git a/libchill/memmove.c b/libchill/memmove.c index c5ec992bd847..a64175b06359 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 + #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 39e8527d3f8c..a46cb5d5ef00 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 +#include #include "rtltypes.h" #include "rts.h" diff --git a/libchill/printevent.c b/libchill/printevent.c index 03b8448ac53e..88c4bc0acc73 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 +#include #include "rtltypes.h" #include "rts.h" diff --git a/libchill/sendbuffer.c b/libchill/sendbuffer.c index 7cfe5b0deb96..7ca229c81bea 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 #include "rtltypes.h" #include "rts.h" diff --git a/libchill/waitbuffer.c b/libchill/waitbuffer.c index cc84295fedd8..939c4fca7a1c 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 #include "rtltypes.h" #include "rts.h"