diff options
author | Steve Chamberlain <sac@cygnus> | 1995-09-20 15:32:41 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-09-20 15:32:41 +0000 |
commit | 6b009ef680221bc7ad17d3fa2dc473ecfdf277d9 (patch) | |
tree | 60f2cffb24f628fbb98ae62527e46289d8da7c00 /gdb/defs.h | |
parent | b46805224b81b08335947252fc23d474b4bbc0a0 (diff) | |
download | gdb-6b009ef680221bc7ad17d3fa2dc473ecfdf277d9.zip gdb-6b009ef680221bc7ad17d3fa2dc473ecfdf277d9.tar.gz gdb-6b009ef680221bc7ad17d3fa2dc473ecfdf277d9.tar.bz2 |
Wed Sep 20 08:16:03 1995 steve chamberlain <sac@slash.cygnus.com>
* defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
(GETENV_PROVIDED, FCLOSE_PROVIDED): New.
* doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
* remote-sim.[ch] (gdbsim_write_stdout): New.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -555,10 +555,6 @@ extern char *strsave PARAMS ((const char *)); extern char *mstrsave PARAMS ((void *, const char *)); -extern PTR xmalloc PARAMS ((long)); - -extern PTR xrealloc PARAMS ((PTR, long)); - extern PTR xmmalloc PARAMS ((PTR, long)); extern PTR xmrealloc PARAMS ((PTR, PTR, long)); @@ -616,7 +612,9 @@ extern void warning PARAMS ((char *, ...)) Libiberty thingies are no longer declared here. We include libiberty.h above, instead. */ +#ifndef GETENV_PROVIDED extern char *getenv PARAMS ((const char *)); +#endif /* From other system libraries */ @@ -625,7 +623,15 @@ extern char *getenv PARAMS ((const char *)); #include <stdlib.h> #endif + +/* We take the address of fclose later, but some stdio's forget + to declare this. We can't always declare it since there's + no way to declare the parameters without upsetting some compiler + somewhere. */ + +#ifndef FCLOSE_PROVIDED extern int fclose (); +#endif #ifndef atof extern double atof (); |