aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-04-18 21:39:25 +0100
committerPedro Alves <palves@redhat.com>2017-04-18 23:52:05 +0100
commitfdd243b001585c5ca078342608332af77050c867 (patch)
tree11b2cdb05a42d05a22f3c6c5e57ee51cfa8ca03b /gdb/xml-support.h
parent4895cde29761f6c39fdb6c319ff4666ee39f5d28 (diff)
downloadgdb-fdd243b001585c5ca078342608332af77050c867.zip
gdb-fdd243b001585c5ca078342608332af77050c867.tar.gz
gdb-fdd243b001585c5ca078342608332af77050c867.tar.bz2
Eliminate obstack_printf
Not used anywhere. gdb/ChangeLog: 2017-04-18 Pedro Alves <palves@redhat.com> * xml-support.c (obstack_xml_printf): Delete. * xml-support.h (obstack_xml_printf): Delete.
Diffstat (limited to 'gdb/xml-support.h')
-rw-r--r--gdb/xml-support.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/xml-support.h b/gdb/xml-support.h
index f9ea64d..1a1b7fd 100644
--- a/gdb/xml-support.h
+++ b/gdb/xml-support.h
@@ -227,13 +227,6 @@ extern gdb_xml_attribute_handler gdb_xml_parse_attr_enum;
ULONGEST gdb_xml_parse_ulongest (struct gdb_xml_parser *parser,
const char *value);
-/* Simple printf to obstack function. Current implemented formatters:
- %s - grow an xml escaped text in OBSTACK. */
-
-extern void obstack_xml_printf (struct obstack *obstack,
- const char *format, ...)
- ATTRIBUTE_PRINTF_2;
-
/* Open FILENAME, read all its text into memory, close it, and return
the text. If something goes wrong, return NULL and warn. */