diff options
Diffstat (limited to 'gdb/xml-support.c')
-rw-r--r-- | gdb/xml-support.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/xml-support.c b/gdb/xml-support.c index 08524f8..ebf6ea6 100644 --- a/gdb/xml-support.c +++ b/gdb/xml-support.c @@ -21,7 +21,6 @@ #include "xml-builtin.h" #include "xml-support.h" #include "gdbsupport/filestuff.h" -#include "gdbsupport/gdb-safe-ctype.h" #include <vector> #include <string> @@ -430,10 +429,10 @@ gdb_xml_parser::end_element (const XML_Char *name) body = scope->body.c_str (); /* Strip leading and trailing whitespace. */ - while (length > 0 && ISSPACE (body[length - 1])) + while (length > 0 && c_isspace (body[length - 1])) length--; scope->body.erase (length); - while (*body && ISSPACE (*body)) + while (*body && c_isspace (*body)) body++; } |