summaryrefslogtreecommitdiff
path: root/src/libezxml/ezxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libezxml/ezxml.c')
-rw-r--r--src/libezxml/ezxml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libezxml/ezxml.c b/src/libezxml/ezxml.c
index ced87ea..0e1dd5d 100644
--- a/src/libezxml/ezxml.c
+++ b/src/libezxml/ezxml.c
@@ -108,7 +108,7 @@ static ezxml_t ezxml_insert(ezxml_t xml, ezxml_t dest, size_t off)
// Adds a child tag. off is the offset of the child tag relative to the start
// of the parent tag's character content. Returns the child tag.
-static ezxml_t ezxml_add_child(ezxml_t xml, const char *name, size_t off)
+static ezxml_t ezxml_add_child(ezxml_t xml, char *name, size_t off)
{
ezxml_t child;
@@ -131,7 +131,7 @@ ezxml_t ezxml_child(ezxml_t xml, const char *name)
}
// returns a new empty ezxml structure with the given root tag name
-static ezxml_t ezxml_new(const char *name)
+static ezxml_t ezxml_new(char *name)
{
static char *ent[] = { "lt;", "<", "gt;", ">", "quot;", """,
"apos;", "'", "amp;", "&", NULL };