* hosts/std-host.h: Removed declarations of printf, fprintf,

fcntl, fread and fwrite.  They are all error prone for one reason
	or another.  Changed declaration of memchr from char * to PTR.
This commit is contained in:
Ian Lance Taylor
1993-07-02 17:38:16 +00:00
parent b4ace9d36f
commit 3de08d72db
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,9 @@
Fri Jul 2 09:25:20 1993 Ian Lance Taylor (ian@cygnus.com) Fri Jul 2 09:25:20 1993 Ian Lance Taylor (ian@cygnus.com)
* hosts/std-host.h: Removed declarations of printf, fprintf,
fcntl, fread and fwrite. They are all error prone for one reason
or another. Changed declaration of memchr from char * to PTR.
* configure.in (mips-*-riscos*): New target; use riscos. * configure.in (mips-*-riscos*): New target; use riscos.
* configure.host (mips-*-riscos*): New host; use riscos. * configure.host (mips-*-riscos*): New host; use riscos.
* config/riscos.mh (HDEFINES): Add -G 4. * config/riscos.mh (HDEFINES): Add -G 4.

View File

@ -21,14 +21,11 @@
#include <stdlib.h> #include <stdlib.h>
/*#include <string.h>*/ /*#include <string.h>*/
#else #else
extern int fprintf PARAMS ((FILE *,char *,...));
extern int printf PARAMS((char *,...));
extern char *mktemp (); extern char *mktemp ();
extern int fflush (); extern int fflush ();
extern int write (); extern int write ();
extern void abort (); extern void abort ();
extern int close (); extern int close ();
extern int fcntl ();
extern int qsort (); extern int qsort ();
extern void exit (); extern void exit ();
extern int fseek (); extern int fseek ();
@ -68,12 +65,10 @@ extern int free();
extern char * strchr(); extern char * strchr();
extern char *getenv(); extern char *getenv();
extern char *memchr(); extern PTR memchr();
extern char *strrchr(); extern char *strrchr();
extern int chmod(); extern int chmod();
extern int fread();
extern int fstat(); extern int fstat();
extern int fwrite();
extern int stat(); extern int stat();
extern int strtol(); extern int strtol();