aboutsummaryrefslogtreecommitdiff
path: root/gcc/tlink.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@gcc.gnu.org>1998-02-27 08:23:47 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-02-27 08:23:47 +0000
commit5987a4f34ae693fa52d4f0c4adf136f6becb8984 (patch)
tree65c26b6cae5dd8cbc0d7916923e75eae3ae564c6 /gcc/tlink.c
parent81ce6e9a35c49a2f937b8b1d992c153ace6e3163 (diff)
downloadgcc-5987a4f34ae693fa52d4f0c4adf136f6becb8984.zip
gcc-5987a4f34ae693fa52d4f0c4adf136f6becb8984.tar.gz
gcc-5987a4f34ae693fa52d4f0c4adf136f6becb8984.tar.bz2
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
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r--gcc/tlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c
index 7219cd1..86b227a 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;