diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-27 08:23:47 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-27 08:23:47 +0000 |
commit | 9a8c230568f7b494f43bfac3f9cfe2b6bab53e62 (patch) | |
tree | 65c26b6cae5dd8cbc0d7916923e75eae3ae564c6 /gcc/tlink.c | |
parent | dcf347a7fb7cb3754b103174619adb2b0fc891f8 (diff) | |
download | gcc-9a8c230568f7b494f43bfac3f9cfe2b6bab53e62.tar.gz |
* genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
* genattrtab.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18284 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r-- | gcc/tlink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c index 7219cd17f12..86b227a9bd1 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -49,8 +49,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define obstack_chunk_free free extern char * xmalloc PARAMS((unsigned)); +#ifdef NEED_DECLARATION_FREE extern void free (); +#endif +#ifdef NEED_DECLARATION_GETENV extern char * getenv (); +#endif /* Defined in collect2.c. */ extern int vflag, debug; |