aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2004-01-13 03:07:16 +0000
committerIan Lance Taylor <iant@google.com>2004-01-13 03:07:16 +0000
commitf3de50730e942fa9c2c06ab0e5552408cf903dd8 (patch)
treefada22a5d4fd666b3f1ec96afb267062a43cc592
parentb3273a6953513e881cfc3213fd7402500862c0fe (diff)
downloadnewlib-f3de50730e942fa9c2c06ab0e5552408cf903dd8.zip
newlib-f3de50730e942fa9c2c06ab0e5552408cf903dd8.tar.gz
newlib-f3de50730e942fa9c2c06ab0e5552408cf903dd8.tar.bz2
* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
"libiberty.h".
-rw-r--r--include/ChangeLog3
-rw-r--r--include/demangle.h7
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" {