From: Ian Lance Taylor Date: Fri, 2 Jul 1993 17:38:16 +0000 (+0000) Subject: * hosts/std-host.h: Removed declarations of printf, fprintf, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3de08d72dbacad3a7485c9568d57c57127cecbcc;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c0af51fdaa8..120a9d932b4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 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.host (mips-*-riscos*): New host; use riscos. * config/riscos.mh (HDEFINES): Add -G 4. diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h index 30328411b64..aeac523b62a 100644 --- a/bfd/hosts/std-host.h +++ b/bfd/hosts/std-host.h @@ -21,14 +21,11 @@ #include /*#include */ #else -extern int fprintf PARAMS ((FILE *,char *,...)); -extern int printf PARAMS((char *,...)); extern char *mktemp (); extern int fflush (); extern int write (); extern void abort (); extern int close (); -extern int fcntl (); extern int qsort (); extern void exit (); extern int fseek (); @@ -68,12 +65,10 @@ extern int free(); extern char * strchr(); extern char *getenv(); -extern char *memchr(); +extern PTR memchr(); extern char *strrchr(); extern int chmod(); -extern int fread(); extern int fstat(); -extern int fwrite(); extern int stat(); extern int strtol();