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
This commit is contained in:
Zack Weinberg 2000-05-29 19:34:51 +00:00 committed by Zack Weinberg
parent d11ec6f0d9
commit 4e2c85f6d2
11 changed files with 24 additions and 2 deletions

View File

@ -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> Mon Apr 3 01:20:50 2000 George France <france@crl.dec.com>
* basicio.c (PATH_MAX): Always provide a definition. * basicio.c (PATH_MAX): Always provide a definition.

View File

@ -1,5 +1,5 @@
/* Implement string-related runtime actions for CHILL. /* 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 Author: Bill Cox
This file is part of GNU CC. 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 This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ 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)) #define MIN(a, b) ((a) < (b) ? (a) : (b))
extern void cause_exception (char *exname, char *file, int lineno); extern void cause_exception (char *exname, char *file, int lineno);

View File

@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <string.h>
#include "rtltypes.h" #include "rtltypes.h"
#include "rts.h" #include "rts.h"

View File

@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ 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); extern void cause_exception (char *exname, char *file, int lineno);
/* /*

View File

@ -30,6 +30,8 @@ Boston, MA 02111-1307, USA. */
#define __CHILL_LIB__ #define __CHILL_LIB__
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h> #include <setjmp.h>
#include "rtltypes.h" #include "rtltypes.h"

View File

@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <string.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b))
/* /*

View File

@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <string.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b))
@ -52,7 +54,7 @@ void *
memmove (s1, s2, n) memmove (s1, s2, n)
void *s1; void *s1;
const void *s2; const void *s2;
int n; unsigned int n;
{ {
char *sc1 = s1; char *sc1 = s1;
const char *sc2 = s2; const char *sc2 = s2;

View File

@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "rtltypes.h" #include "rtltypes.h"
#include "rts.h" #include "rts.h"

View File

@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "rtltypes.h" #include "rtltypes.h"
#include "rts.h" #include "rts.h"

View File

@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <string.h>
#include "rtltypes.h" #include "rtltypes.h"
#include "rts.h" #include "rts.h"

View File

@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */
This exception does not however invalidate any other reasons why This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */ the executable file might be covered by the GNU General Public License. */
#include <string.h>
#include "rtltypes.h" #include "rtltypes.h"
#include "rts.h" #include "rts.h"