aboutsummaryrefslogtreecommitdiff
path: root/libchill
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-29 19:34:51 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-29 19:34:51 +0000
commit4e2c85f6d2392685d5ff19492385d06f982a2c14 (patch)
tree8b5c373b1382ec8c9c78b6d04d49e50526ac28df /libchill
parentd11ec6f0d9fae7524090b3e5ea52e031e617f90f (diff)
downloadgcc-4e2c85f6d2392685d5ff19492385d06f982a2c14.zip
gcc-4e2c85f6d2392685d5ff19492385d06f982a2c14.tar.gz
gcc-4e2c85f6d2392685d5ff19492385d06f982a2c14.tar.bz2
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
Diffstat (limited to 'libchill')
-rw-r--r--libchill/ChangeLog6
-rw-r--r--libchill/concatstr.c5
-rw-r--r--libchill/delaycase.c1
-rw-r--r--libchill/eqstr.c2
-rw-r--r--libchill/exh.c2
-rw-r--r--libchill/ltstr.c2
-rw-r--r--libchill/memmove.c4
-rw-r--r--libchill/printbuffer.c1
-rw-r--r--libchill/printevent.c1
-rw-r--r--libchill/sendbuffer.c1
-rw-r--r--libchill/waitbuffer.c1
11 files changed, 24 insertions, 2 deletions
diff --git a/libchill/ChangeLog b/libchill/ChangeLog
index 7fefa5b..7094f7c 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 7cefc3c..866d330 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 f66f10c..3c2a3c7 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 37fc6a5..9261572 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 1c80776..8845d433 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 4f89284..7ddcfda 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 c5ec992..a64175b 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 39e8527..a46cb5d 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 03b8448..88c4bc0 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 7cfe5b0..7ca229c 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 cc84295..939c4fc 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"