diff options
author | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-02-27 08:23:47 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-02-27 08:23:47 +0000 |
commit | 5987a4f34ae693fa52d4f0c4adf136f6becb8984 (patch) | |
tree | 65c26b6cae5dd8cbc0d7916923e75eae3ae564c6 /gcc/genattr.c | |
parent | 81ce6e9a35c49a2f937b8b1d992c153ace6e3163 (diff) | |
download | gcc-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/genattr.c')
-rw-r--r-- | gcc/genattr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c index 5be826b..afeaeb4 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -1,5 +1,5 @@ /* Generate attribute information (insn-attr.h) from machine description. - Copyright (C) 1991, 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1991, 1994, 1996, 1998 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) 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 PROTO((void *)); +#endif extern rtx read_rtx PROTO((FILE *)); char *xmalloc PROTO((unsigned)); |