diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-10-05 19:42:31 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-10-05 19:42:31 +0000 |
commit | dbc981de23506195e531a1e87ad910470ce947ac (patch) | |
tree | e302ad944a074250fa129a64da288bd204cfe1c4 /gdb/memory-map.c | |
parent | 0b83947edd8774f1b1b8e0ea0441e1ab62d7daab (diff) | |
download | gdb-dbc981de23506195e531a1e87ad910470ce947ac.zip gdb-dbc981de23506195e531a1e87ad910470ce947ac.tar.gz gdb-dbc981de23506195e531a1e87ad910470ce947ac.tar.bz2 |
* Makefile.in (gdb_expat_h): New.
(xml_support_h): Add gdb_expat.h dependency.
(memory-map.o, xml-support.o): Likewise.
* gdb_expat.h: New file.
* xml-support.h: Include it.
* memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK
definitions.
Diffstat (limited to 'gdb/memory-map.c')
-rw-r--r-- | gdb/memory-map.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/memory-map.c b/gdb/memory-map.c index e3f8a80..991db1b 100644 --- a/gdb/memory-map.c +++ b/gdb/memory-map.c @@ -47,12 +47,8 @@ parse_memory_map (const char *memory_map) #else /* HAVE_LIBEXPAT */ #include "xml-support.h" -#include <expat.h> -#ifndef XML_STATUS_OK -# define XML_STATUS_OK 1 -# define XML_STATUS_ERROR 0 -#endif +#include "gdb_expat.h" /* Internal parsing data passed to all Expat callbacks. */ struct memory_map_parsing_data |