diff options
author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-01-13 03:06:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2004-01-13 03:06:13 +0000 |
commit | d051dc88efd3433736815e49ddca42ad36aac9ba (patch) | |
tree | 8e6b3318a25e18ae62964e23129fd7c14749a32a /include | |
parent | cc11dca961b3abfbf956d26eea0227cfd0bfc1dc (diff) | |
download | gcc-d051dc88efd3433736815e49ddca42ad36aac9ba.zip gcc-d051dc88efd3433736815e49ddca42ad36aac9ba.tar.gz gcc-d051dc88efd3433736815e49ddca42ad36aac9ba.tar.bz2 |
demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h".
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
"libiberty.h".
From-SVN: r75789
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 3 | ||||
-rw-r--r-- | include/demangle.h | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 07e0129..e2fa68f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,8 @@ 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> + * demangle.h: Instead of checking ANSI_PROTOTYPES, just include + "libiberty.h". + * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>. * demangle.h (enum demangle_component_type): Define. diff --git a/include/demangle.h b/include/demangle.h index dfe4206..6e995e4 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -21,12 +21,7 @@ #if !defined (DEMANGLE_H) #define DEMANGLE_H -#include "ansidecl.h" - -#ifdef ANSI_PROTOTYPES -/* Get a definition for size_t. */ -#include <stddef.h> -#endif +#include "libiberty.h" #ifdef __cplusplus extern "C" { |