summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-30 17:41:38 +0000
committerTom Tromey <tromey@redhat.com>2013-05-30 17:41:38 +0000
commit772ba0012061d30809885e891dd022bb999115de (patch)
tree2831923e45df6556b86ca65f17f67e096b61c82e /include
parent9a9a177185ba7001908265435d00f0eb2ebfe3cf (diff)
downloadgdb-772ba0012061d30809885e891dd022bb999115de.tar.gz
fix up xml-support.c
xml-support.c has a function that returns a cleanup via an out parameter. This changes this function to be a normal cleanup constructor -- returning the cleanup directly and returning the other result via an out parameter. This is sort of a hack, but it lets the checker work here. I also noticed that gdb_xml_create_parser_and_cleanup does not need to be exported any more. * xml-support.c (gdb_xml_create_parser_and_cleanup): Rename from gdb_xml_create_parser_and_cleanup_1. Return a cleanup. Remove 'old_chain' argument. Add 'parser_result' argument. (gdb_xml_create_parser_and_cleanup): Remove old version. (gdb_xml_parse_quick): Update. (xml_process_xincludes): Update. * xml-support.h (gdb_xml_create_parser_and_cleanup): Don't declare.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions