summaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-10-05 19:42:31 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-10-05 19:42:31 +0000
commit958f4abf2e5ac829ca6f7b2e8e4732152eeff5a8 (patch)
treed289e728352566547dd41dd6a605527705b86f95 /gdb/xml-support.c
parente5df30fe7a5ab04c7b3160f2a1ad1164111078b9 (diff)
downloadgdb-958f4abf2e5ac829ca6f7b2e8e4732152eeff5a8.tar.gz
* 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/xml-support.c')
-rw-r--r--gdb/xml-support.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/xml-support.c b/gdb/xml-support.c
index 54b0c9be526..2fcf64e5c9c 100644
--- a/gdb/xml-support.c
+++ b/gdb/xml-support.c
@@ -29,15 +29,9 @@
#include "exceptions.h"
#include "xml-support.h"
-#include <expat.h>
-
+#include "gdb_expat.h"
#include "gdb_string.h"
-#ifndef XML_STATUS_OK
-# define XML_STATUS_OK 1
-# define XML_STATUS_ERROR 0
-#endif
-
/* Returns the value of attribute ATTR from expat attribute list
ATTRLIST. If not found, throws an exception. */