* demangle.h: Instead of checking ANSI_PROTOTYPES, just include

"libiberty.h".
This commit is contained in:
Ian Lance Taylor 2004-01-13 03:07:16 +00:00
parent b3273a6953
commit f3de50730e
2 changed files with 4 additions and 6 deletions

View 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.

View File

@ -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" {