OSDN Git Service

* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
authorIan Lance Taylor <ian@airs.com>
Tue, 13 Jan 2004 03:07:16 +0000 (03:07 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 13 Jan 2004 03:07:16 +0000 (03:07 +0000)
"libiberty.h".

include/ChangeLog
include/demangle.h

index 07e0129..e2fa68f 100644 (file)
@@ -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.
index dfe4206..6e995e4 100644 (file)
 #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" {