summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2015-09-21 22:55:55 +0800
committerAron Xu <aron@debian.org>2015-09-21 22:55:55 +0800
commite85cf827a804d9abf4cbf48af6394c49331de322 (patch)
treeaab761b5168447ea51ad1a64c9e1594e48f84b12 /entities.c
parent4b692ee8530176868e4832e30bdc4ba5bc145948 (diff)
downloadlibxml2-e85cf827a804d9abf4cbf48af6394c49331de322.tar.gz
Revert "Merge tag 'upstream/2.9.1+dfsg1'"
This reverts commit 21ee18bdbc9a9d4500e12a1399d51c593b8b31d4, reversing changes made to de338c1adfa336ddb5177ceb5c63bcd868a0ebc7.
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 0c484a7..a72afb3 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(xmlDocPtr doc, const xmlChar *name) {
+xmlGetDocEntity(const xmlDoc *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(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) {
+xmlEncodeSpecialChars(const xmlDoc *doc ATTRIBUTE_UNUSED, const xmlChar *input) {
const xmlChar *cur = input;
xmlChar *buffer = NULL;
xmlChar *out = NULL;