From 5987a4f34ae693fa52d4f0c4adf136f6becb8984 Mon Sep 17 00:00:00 2001 From: Kaveh Ghazi Date: Fri, 27 Feb 1998 08:23:47 +0000 Subject: genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE. * 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. From-SVN: r18284 --- gcc/tlink.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/tlink.c') 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; -- cgit v1.2.1