summaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 08:23:47 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-27 08:23:47 +0000
commit9a8c230568f7b494f43bfac3f9cfe2b6bab53e62 (patch)
tree65c26b6cae5dd8cbc0d7916923e75eae3ae564c6 /gcc/genconfig.c
parentdcf347a7fb7cb3754b103174619adb2b0fc891f8 (diff)
downloadgcc-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/genconfig.c')
-rw-r--r--gcc/genconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index cc012cbd6ed..0476295aecf 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -1,6 +1,6 @@
/* Generate from machine description:
- some #define configuration flags.
- Copyright (C) 1987, 1991, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1991, 1997, 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -35,7 +35,9 @@ struct obstack *rtl_obstack = &obstack;
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
+#ifdef NEED_DECLARATION_FREE
extern void free ();
+#endif
extern rtx read_rtx ();
/* flags to determine output of machine description dependent #define's. */