summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:55 +0200
committerRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:55 +0200
commit21ee18bdbc9a9d4500e12a1399d51c593b8b31d4 (patch)
tree35c498d3ec731bcf7b90ce66bce68ecd54659250 /entities.c
parentde338c1adfa336ddb5177ceb5c63bcd868a0ebc7 (diff)
parent7300193becde71a344c8ac0973dc290fa24d800d (diff)
downloadlibxml2-21ee18bdbc9a9d4500e12a1399d51c593b8b31d4.tar.gz
Merge tag 'upstream/2.9.1+dfsg1'
Upstream version 2.9.1+dfsg1
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/entities.c b/entities.c
index a72afb3..0c484a7 100644
--- a/entities.c
+++ b/entities.c
@@ -502,7 +502,7 @@ xmlGetDtdEntity(xmlDocPtr doc, const xmlChar *name) {
* Returns A pointer to the entity structure or NULL if not found.
*/
xmlEntityPtr
-xmlGetDocEntity(const xmlDoc *doc, const xmlChar *name) {
+xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name) {
xmlEntityPtr cur;
xmlEntitiesTablePtr table;
@@ -783,7 +783,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) {
* Returns A newly allocated string with the substitution done.
*/
xmlChar *
-xmlEncodeSpecialChars(const xmlDoc *doc ATTRIBUTE_UNUSED, const xmlChar *input) {
+xmlEncodeSpecialChars(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) {
const xmlChar *cur = input;
xmlChar *buffer = NULL;
xmlChar *out = NULL;