Make xml_escape_text return an std::string
[deliverable/binutils-gdb.git] / gdb / common / xml-utils.h
index f4d903ee7e93dfe4efdfdede443c276a1f4c83de..f69f5f5178e493d32eda889fbf36fa134d71f399 100644 (file)
@@ -1,7 +1,6 @@
 /* Shared helper routines for manipulating XML.
 
-   Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2006-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -24,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.0237889999999999 seconds and 4 git commands to generate.