Commit 4e2c85f6 by Zack Weinberg Committed by Zack Weinberg

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
parent d11ec6f0
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.
......
/* 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. */ ...@@ -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);
......
...@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
...@@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -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);
/* /*
......
...@@ -30,6 +30,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
...@@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -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))
/* /*
......
...@@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -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 * ...@@ -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;
......
...@@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
...@@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
...@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
...@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment