diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-24 01:46:50 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-24 01:46:50 +0000 |
commit | 49691411b75906bdd8010ec2b38799b83dc0f55f (patch) | |
tree | 9e15c70e8b7b61e320adae5771b7d38402e74202 /gcc/gcov-io.h | |
parent | ee42dd9daa154effb93db6eb73b0620fb4bcad74 (diff) | |
download | gcc-49691411b75906bdd8010ec2b38799b83dc0f55f.zip gcc-49691411b75906bdd8010ec2b38799b83dc0f55f.tar.gz gcc-49691411b75906bdd8010ec2b38799b83dc0f55f.tar.bz2 |
ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
* ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
* unwind-dw2-fde.h (last_fde): Use __attribute__, not
ATTRIBUTE_UNUSED.
* configure: Regenerate.
From-SVN: r61692
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 79686f5..6976bc3 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -250,6 +250,15 @@ extern void __gcov_init (struct gcov_info *); /* Called before fork, to avoid double counting. */ extern void __gcov_flush (void); +/* Since this file is used in both host and target files, and we don't + include ansidecl.h in target files, provide some necessary macros. */ +#ifndef PARAMS +# define PARAMS(X) X +#endif +#ifndef ATTRIBUTE_UNUSED +# define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +#endif + #endif /* IN_LIBGCC2 */ /* Functions for reading and writing gcov files. */ |