diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 01:46:50 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-24 01:46:50 +0000 |
commit | 4b0e3ddbeb96565d30bcfe84d8a8d6741cb0c22a (patch) | |
tree | 9e15c70e8b7b61e320adae5771b7d38402e74202 /gcc/gcov-io.h | |
parent | 5fc6d49c82e0849683f0a0af3c2dee9c7d1ab449 (diff) | |
download | gcc-4b0e3ddbeb96565d30bcfe84d8a8d6741cb0c22a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61692 138bc75d-0d04-0410-961f-82ee72b054a4
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 79686f5a848..6976bc3ddc8 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. */ |