aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/std-host.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-02 17:38:16 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-02 17:38:16 +0000
commit3de08d72dbacad3a7485c9568d57c57127cecbcc (patch)
treed9d19bde5459c9ef1bbaeb624d503fdf971eb241 /bfd/hosts/std-host.h
parentb4ace9d36f37abd9b356c33be21c845938a0232f (diff)
downloadgdb-3de08d72dbacad3a7485c9568d57c57127cecbcc.zip
gdb-3de08d72dbacad3a7485c9568d57c57127cecbcc.tar.gz
gdb-3de08d72dbacad3a7485c9568d57c57127cecbcc.tar.bz2
* 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.
Diffstat (limited to 'bfd/hosts/std-host.h')
-rw-r--r--bfd/hosts/std-host.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/bfd/hosts/std-host.h b/bfd/hosts/std-host.h
index 3032841..aeac523 100644
--- a/bfd/hosts/std-host.h
+++ b/bfd/hosts/std-host.h
@@ -21,14 +21,11 @@
#include <stdlib.h>
/*#include <string.h>*/
#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();