diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-02 22:39:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-02 22:39:31 +0000 |
commit | 2855b89fe2bdf10e780afa4820de34241a4b68c4 (patch) | |
tree | c853427a7a490cb8207e344c5c745d552483c8d3 /bfd/hosts | |
parent | e85e8bfe62883193337669c948d125fb13f235ed (diff) | |
download | gdb-2855b89fe2bdf10e780afa4820de34241a4b68c4.zip gdb-2855b89fe2bdf10e780afa4820de34241a4b68c4.tar.gz gdb-2855b89fe2bdf10e780afa4820de34241a4b68c4.tar.bz2 |
* hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit or
getenv.
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/sun3.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h index da907c2..245eddb 100644 --- a/bfd/hosts/sun3.h +++ b/bfd/hosts/sun3.h @@ -7,27 +7,20 @@ #include <ctype.h> #include <string.h> #include <sys/file.h> +#include <stdlib.h> #ifndef O_ACCMODE #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) #endif #define SEEK_SET 0 #define SEEK_CUR 1 -#ifdef __STDC__ -extern void free PARAMS ((PTR)); -#else /* not __STDC__ */ -extern int free PARAMS ((PTR)); -#endif /* not __STDC__ */ -extern void abort PARAMS ((void)); extern int close PARAMS ((int)); extern int fprintf PARAMS ((FILE *,CONST char *,...)); -extern void exit PARAMS ((int)); extern int fclose PARAMS ((FILE*)); extern void bcopy PARAMS ((char*,char*,int)); extern int bcmp PARAMS ((char *, char *, int)); extern void bzero PARAMS ((char *, int)); extern void perror PARAMS ((CONST char *)); -extern char *getenv(); extern char * strchr(); extern char *memchr(); extern char *strrchr(); |