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
This commit is contained in:
Ian Lance Taylor 2004-01-13 03:06:13 +00:00 committed by Ian Lance Taylor
parent cc11dca961
commit d051dc88ef
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" {