Make xml_escape_text return an std::string
[deliverable/binutils-gdb.git] / gdb / common / xml-utils.h
index ea4ab53e38cc6182102908c5c349f409e6f2f801..f69f5f5178e493d32eda889fbf36fa134d71f399 100644 (file)
@@ -1,6 +1,6 @@
 /* Shared helper routines for manipulating XML.
 
-   Copyright (C) 2006-2013 Free Software Foundation, Inc.
+   Copyright (C) 2006-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -23,6 +23,6 @@
 /* Return a malloc allocated string with special characters from TEXT
    replaced by entity references.  */
 
-extern char *xml_escape_text (const char *text);
+extern std::string xml_escape_text (const char *text);
 
 #endif
This page took 0.024468 seconds and 4 git commands to generate.