diff --git a/HTMLparser.c b/HTMLparser.c
index a95df31f..b9e176b3 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4268,6 +4268,13 @@ htmlParseElement(htmlParserCtxtPtr ctxt) {
}
}
+/**
+ * htmlCtxtParseContentInternal:
+ * @ctxt: parser context
+ * @input: parser input
+ *
+ * Returns a node list.
+ */
xmlNodePtr
htmlCtxtParseContentInternal(htmlParserCtxtPtr ctxt, xmlParserInputPtr input) {
xmlNodePtr root;
@@ -4694,7 +4701,7 @@ htmlCreateDocParserCtxt(const xmlChar *str, const char *url,
* *
************************************************************************/
-enum xmlLookupStates {
+typedef enum {
LSTATE_TAG_NAME = 0,
LSTATE_BEFORE_ATTR_NAME,
LSTATE_ATTR_NAME,
@@ -4703,7 +4710,7 @@ enum xmlLookupStates {
LSTATE_ATTR_VALUE_DQUOTED,
LSTATE_ATTR_VALUE_SQUOTED,
LSTATE_ATTR_VALUE_UNQUOTED
-};
+} xmlLookupStates;
/**
* htmlParseLookupGt:
diff --git a/doc/apibuild.py b/doc/apibuild.py
index a59b39d8..40a2ba0f 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -21,6 +21,7 @@ debugsym=None
ignored_files = {
"config.h": "generated portability layer",
"libxml.h": "internal only",
+ "legacy.c": "legacy code",
"testModule.c": "test tool",
"testapi.c": "generated regression tests",
"runtest.c": "regression tests program",
@@ -57,6 +58,7 @@ ignored_words = {
"LIBXML_ATTR_ALLOC_SIZE": (3, "macro for gcc checking extension"),
"ATTRIBUTE_NO_SANITIZE": (3, "macro keyword"),
"ATTRIBUTE_NO_SANITIZE_INTEGER": (0, "macro keyword"),
+ "ATTRIBUTE_COUNTED_BY": (3, "macro keyword"),
"XML_DEPRECATED": (0, "macro keyword"),
"XML_DEPRECATED_MEMBER": (0, "macro keyword"),
"XML_GLOBALS_ALLOC": (0, "macro keyword"),