[libxml2] Remove elfgcchack.h



commit 346c3a930c50b20d6f65dd7d751b8b7284582214
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sun Feb 20 18:46:42 2022 +0100

    Remove elfgcchack.h
    
    The same optimization can be enabled with -fno-semantic-interposition
    since GCC 5. clang has always used this option by default.

 DOCBparser.c                       |     3 +-
 HTMLparser.c                       |     2 -
 HTMLtree.c                         |     2 -
 Makefile.am                        |     2 +-
 SAX.c                              |     2 -
 SAX2.c                             |     2 -
 buf.c                              |     2 -
 c14n.c                             |     3 +-
 catalog.c                          |     2 -
 chvalid.c                          |     2 -
 debugXML.c                         |     3 +-
 dict.c                             |     2 -
 doc/Makefile.am                    |    12 +-
 doc/apibuild.py                    |     1 -
 doc/elfgcchack.xsl                 |   160 -
 elfgcchack.h                       | 17830 -----------------------------------
 encoding.c                         |     2 -
 entities.c                         |     2 -
 error.c                            |     2 -
 genChRanges.py                     |     3 -
 genUnicode.py                      |     2 -
 globals.c                          |     2 -
 hash.c                             |     2 -
 legacy.c                           |     3 +-
 libxml.h                           |    11 -
 list.c                             |     2 -
 nanoftp.c                          |     2 -
 nanohttp.c                         |     2 -
 parser.c                           |     2 -
 parserInternals.c                  |     2 -
 pattern.c                          |     2 -
 relaxng.c                          |     2 -
 rngparser.c                        |     2 -
 schematron.c                       |     3 +-
 threads.c                          |     2 -
 tree.c                             |     2 -
 uri.c                              |     2 -
 valid.c                            |     2 -
 win32/VC10/libxml2-focus.vcxproj   |     3 +-
 win32/VC10/libxml2.vcxproj         |     3 +-
 win32/VC10/libxml2.vcxproj.filters |     5 +-
 xinclude.c                         |     2 -
 xlink.c                            |     2 -
 xmlIO.c                            |     2 -
 xmlmemory.c                        |     2 -
 xmlmodule.c                        |     2 -
 xmlreader.c                        |     3 +-
 xmlregexp.c                        |     3 +-
 xmlsave.c                          |     2 -
 xmlschemas.c                       |     2 -
 xmlschemastypes.c                  |     2 -
 xmlstring.c                        |     2 -
 xmlunicode.c                       |     2 -
 xmlwriter.c                        |     2 -
 xpath.c                            |     2 -
 xpointer.c                         |     2 -
 56 files changed, 12 insertions(+), 18117 deletions(-)
---
diff --git a/DOCBparser.c b/DOCBparser.c
index f12511b9..c5a06f9a 100644
--- a/DOCBparser.c
+++ b/DOCBparser.c
@@ -300,6 +300,5 @@ docbParseFile(const char *filename ATTRIBUTE_UNUSED,
 
     return (xmlParseFile(filename));
 }
-#define bottom_DOCBparser
-#include "elfgcchack.h"
+
 #endif /* LIBXML_DOCB_ENABLED */
diff --git a/HTMLparser.c b/HTMLparser.c
index eb3a820a..eba2d7c9 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -7279,6 +7279,4 @@ htmlCtxtReadIO(htmlParserCtxtPtr ctxt, xmlInputReadCallback ioread,
     return (htmlDoRead(ctxt, URL, encoding, options, 1));
 }
 
-#define bottom_HTMLparser
-#include "elfgcchack.h"
 #endif /* LIBXML_HTML_ENABLED */
diff --git a/HTMLtree.c b/HTMLtree.c
index 7a2b8558..b098de74 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -1195,6 +1195,4 @@ htmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) {
 
 #endif /* LIBXML_OUTPUT_ENABLED */
 
-#define bottom_HTMLtree
-#include "elfgcchack.h"
 #endif /* LIBXML_HTML_ENABLED */
diff --git a/Makefile.am b/Makefile.am
index 7917b595..3b3fe19a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1254,7 +1254,7 @@ EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \
             $(man_MANS) libxml-2.0.pc.in libxml-2.0-uninstalled.pc.in \
             libxml2-config.cmake.in autogen.sh \
             trionan.c trionan.h triostr.c triostr.h trio.c trio.h \
-            triop.h triodef.h libxml.h elfgcchack.h xzlib.h buf.h \
+            triop.h triodef.h libxml.h xzlib.h buf.h \
             enc.h save.h genUnicode.py TODO_SCHEMAS \
             dbgen.pl dbgenattr.pl regressions.py regressions.xml \
             README.tests Makefile.tests libxml2.syms timsort.h \
diff --git a/SAX.c b/SAX.c
index 292af57e..4df25f9c 100644
--- a/SAX.c
+++ b/SAX.c
@@ -175,6 +175,4 @@ initdocbDefaultSAXHandler(xmlSAXHandlerV1 *hdlr)
 
 #endif /* LIBXML_SAX1_ENABLED */
 
-#define bottom_SAX
-#include "elfgcchack.h"
 #endif /* LIBXML_LEGACY_ENABLED */
diff --git a/SAX2.c b/SAX2.c
index ae6181c4..23cfac60 100644
--- a/SAX2.c
+++ b/SAX2.c
@@ -3038,5 +3038,3 @@ docbDefaultSAXHandlerInit(void)
 }
 
 #endif /* LIBXML_DOCB_ENABLED */
-#define bottom_SAX2
-#include "elfgcchack.h"
diff --git a/buf.c b/buf.c
index 24368d37..11be3c64 100644
--- a/buf.c
+++ b/buf.c
@@ -1347,5 +1347,3 @@ xmlBufSetInputBaseCur(xmlBufPtr buf, xmlParserInputPtr input,
     return(0);
 }
 
-#define bottom_buf
-#include "elfgcchack.h"
diff --git a/c14n.c b/c14n.c
index 3efcd92e..82f2751f 100644
--- a/c14n.c
+++ b/c14n.c
@@ -2229,6 +2229,5 @@ xmlC11NNormalizeString(const xmlChar * input,
     return (buffer);
 }
 #endif /* LIBXML_OUTPUT_ENABLED */
-#define bottom_c14n
-#include "elfgcchack.h"
+
 #endif /* LIBXML_C14N_ENABLED */
diff --git a/catalog.c b/catalog.c
index e071b493..f559978c 100644
--- a/catalog.c
+++ b/catalog.c
@@ -3825,6 +3825,4 @@ xmlCatalogGetPublic(const xmlChar *pubID) {
     return(NULL);
 }
 
-#define bottom_catalog
-#include "elfgcchack.h"
 #endif /* LIBXML_CATALOG_ENABLED */
diff --git a/chvalid.c b/chvalid.c
index 06e8db06..f4fa44ac 100644
--- a/chvalid.c
+++ b/chvalid.c
@@ -332,5 +332,3 @@ xmlIsPubidChar(unsigned int ch) {
     return(xmlIsPubidCharQ(ch));
 }
 
-#define bottom_chvalid
-#include "elfgcchack.h"
diff --git a/debugXML.c b/debugXML.c
index 7a2ca47d..3f28c67d 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -3418,6 +3418,5 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
 }
 
 #endif /* LIBXML_XPATH_ENABLED */
-#define bottom_debugXML
-#include "elfgcchack.h"
+
 #endif /* LIBXML_DEBUG_ENABLED */
diff --git a/dict.c b/dict.c
index 90e4d814..5e395110 100644
--- a/dict.c
+++ b/dict.c
@@ -1294,5 +1294,3 @@ xmlDictGetUsage(xmlDictPtr dict) {
     return(limit);
 }
 
-#define bottom_dict
-#include "elfgcchack.h"
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 473b549b..6caa8615 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -83,7 +83,6 @@ EXTRA_DIST = \
        contribs.html \
        docs.html \
        downloads.html \
-       elfgcchack.xsl \
        encoding.html \
        entities.html \
        example.html \
@@ -237,19 +236,10 @@ man_MANS = xmllint.1 xmlcatalog.1
 if REBUILD_DOCS
 docs: web $(top_builddir)/NEWS libxml2.xsa $(man_MANS)
 
-api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src 
../elfgcchack.h $(srcdir)/site.xsl
+api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src 
$(srcdir)/site.xsl
 
 web: $(PAGES) xmllint.html xmlcatalog_man.html
 
-../elfgcchack.h: $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml
-       -@(if [ -x $(XSLTPROC) ] ; then \
-         echo "Rebuilding the elfgcchack.h header" ; \
-         $(XSLTPROC) --nonet $(srcdir)/elfgcchack.xsl $(srcdir)/libxml2-api.xml > elfgcchack.h ; \
-         if [ "`diff -q elfgcchack.h ../elfgcchack.h`" ] ; then \
-           echo "updating ../elfgcchack.h"; \
-           cp elfgcchack.h ../elfgcchack.h; \
-         fi ; rm -f elfgcchack.h ;  fi );
-
 $(PAGES): xml.html $(srcdir)/site.xsl
        -@(if [ -x $(XSLTPROC) ] ; then \
          echo "Rebuilding the HTML Web pages from xml.html" ; \
diff --git a/doc/apibuild.py b/doc/apibuild.py
index c8be0ee3..9ed1b33f 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -31,7 +31,6 @@ ignored_files = {
   "testOOMlib.c": "out of memory tester",
   "rngparser.c": "not yet integrated",
   "rngparser.h": "not yet integrated",
-  "elfgcchack.h": "not a normal header",
   "testHTML.c": "test tool",
   "testReader.c": "test tool",
   "testSchemas.c": "test tool",
diff --git a/encoding.c b/encoding.c
index 3741c94e..d242ca7d 100644
--- a/encoding.c
+++ b/encoding.c
@@ -3972,5 +3972,3 @@ xmlRegisterCharEncodingHandlersISO8859x (void) {
 #endif
 #endif
 
-#define bottom_encoding
-#include "elfgcchack.h"
diff --git a/entities.c b/entities.c
index a27209d1..e7a4e3ed 100644
--- a/entities.c
+++ b/entities.c
@@ -1176,5 +1176,3 @@ xmlDumpEntitiesTable(xmlBufferPtr buf, xmlEntitiesTablePtr table) {
     xmlHashScan(table, xmlDumpEntityDeclScan, buf);
 }
 #endif /* LIBXML_OUTPUT_ENABLED */
-#define bottom_entities
-#include "elfgcchack.h"
diff --git a/error.c b/error.c
index 9ff1c2ba..5f42eadc 100644
--- a/error.c
+++ b/error.c
@@ -994,5 +994,3 @@ xmlCopyError(xmlErrorPtr from, xmlErrorPtr to) {
     return 0;
 }
 
-#define bottom_error
-#include "elfgcchack.h"
diff --git a/genChRanges.py b/genChRanges.py
index 0eb09d05..200fb20b 100755
--- a/genChRanges.py
+++ b/genChRanges.py
@@ -571,8 +571,5 @@ header.write("""
 
 header.close()
 
-output.write("""#define bottom_chvalid
-#include "elfgcchack.h"
-""")
 output.close()
 
diff --git a/genUnicode.py b/genUnicode.py
index 4487eeb5..f431201f 100755
--- a/genUnicode.py
+++ b/genUnicode.py
@@ -459,8 +459,6 @@ xmlUCSIsCat(int code, const char *cat) {
     return (func(code));
 }
 
-#define bottom_xmlunicode
-#include "elfgcchack.h"
 #endif /* LIBXML_UNICODE_ENABLED */
 """)
 
diff --git a/globals.c b/globals.c
index 0c0bdb44..94f78ddf 100644
--- a/globals.c
+++ b/globals.c
@@ -1122,5 +1122,3 @@ __xmlOutputBufferCreateFilenameValue(void) {
        return (&xmlGetGlobalState()->xmlOutputBufferCreateFilenameValue);
 }
 
-#define bottom_globals
-#include "elfgcchack.h"
diff --git a/hash.c b/hash.c
index 7b82d2f1..005401b7 100644
--- a/hash.c
+++ b/hash.c
@@ -1142,5 +1142,3 @@ xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name,
     }
 }
 
-#define bottom_hash
-#include "elfgcchack.h"
diff --git a/legacy.c b/legacy.c
index 86362bf5..c9fddc52 100644
--- a/legacy.c
+++ b/legacy.c
@@ -1337,7 +1337,6 @@ cdataBlock(void *ctx, const xmlChar * value, int len)
     DEPRECATED("cdataBlock")
         xmlSAX2CDataBlock(ctx, value, len);
 }
-#define bottom_legacy
-#include "elfgcchack.h"
+
 #endif /* LIBXML_LEGACY_ENABLED */
 
diff --git a/libxml.h b/libxml.h
index 1090729c..38afbefb 100644
--- a/libxml.h
+++ b/libxml.h
@@ -117,17 +117,6 @@ int __xmlRandom(void);
 XMLPUBFUN xmlChar * XMLCALL xmlEscapeFormatString(xmlChar **msg);
 int xmlInputReadCallbackNop(void *context, char *buffer, int len);
 
-#ifdef IN_LIBXML
-#ifdef __GNUC__
-#ifdef PIC
-#ifdef __linux__
-#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
-#include "elfgcchack.h"
-#endif
-#endif
-#endif
-#endif
-#endif
 #if !defined(PIC) && !defined(NOLIBTOOL) && !defined(LIBXML_STATIC)
 #  define LIBXML_STATIC
 #endif
diff --git a/list.c b/list.c
index 20207155..12a7c009 100644
--- a/list.c
+++ b/list.c
@@ -775,5 +775,3 @@ xmlListCopy(xmlListPtr cur, const xmlListPtr old)
 }
 /* xmlListUnique() */
 /* xmlListSwap */
-#define bottom_list
-#include "elfgcchack.h"
diff --git a/nanoftp.c b/nanoftp.c
index 18c1ce43..93ad0fc9 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -2114,5 +2114,3 @@ int main(int argc, char **argv) {
 }
 #endif /* STANDALONE */
 #endif /* LIBXML_FTP_ENABLED */
-#define bottom_nanoftp
-#include "elfgcchack.h"
diff --git a/nanohttp.c b/nanohttp.c
index 8e840f58..a4e5fd3d 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -1895,5 +1895,3 @@ int main(int argc, char **argv) {
 }
 #endif /* STANDALONE */
 #endif /* LIBXML_HTTP_ENABLED */
-#define bottom_nanohttp
-#include "elfgcchack.h"
diff --git a/parser.c b/parser.c
index 8ca9b2dd..9978cbe2 100644
--- a/parser.c
+++ b/parser.c
@@ -15551,5 +15551,3 @@ xmlCtxtReadIO(xmlParserCtxtPtr ctxt, xmlInputReadCallback ioread,
     return (xmlDoRead(ctxt, URL, encoding, options, 1));
 }
 
-#define bottom_parser
-#include "elfgcchack.h"
diff --git a/parserInternals.c b/parserInternals.c
index cf5ad369..270270b2 100644
--- a/parserInternals.c
+++ b/parserInternals.c
@@ -2162,5 +2162,3 @@ xmlKeepBlanksDefault(int val) {
     return(old);
 }
 
-#define bottom_parserInternals
-#include "elfgcchack.h"
diff --git a/pattern.c b/pattern.c
index 27e96946..73851a1f 100644
--- a/pattern.c
+++ b/pattern.c
@@ -2616,6 +2616,4 @@ xmlPatternFromRoot(xmlPatternPtr comp) {
 
 }
 
-#define bottom_pattern
-#include "elfgcchack.h"
 #endif /* LIBXML_PATTERN_ENABLED */
diff --git a/relaxng.c b/relaxng.c
index c4c26cb0..312a2c86 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -11098,6 +11098,4 @@ xmlRelaxNGValidateDoc(xmlRelaxNGValidCtxtPtr ctxt, xmlDocPtr doc)
     return (ret);
 }
 
-#define bottom_relaxng
-#include "elfgcchack.h"
 #endif /* LIBXML_SCHEMAS_ENABLED */
diff --git a/rngparser.c b/rngparser.c
index 7731d4dd..ef391739 100644
--- a/rngparser.c
+++ b/rngparser.c
@@ -1591,5 +1591,3 @@ int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
     return(0);
 }
 #endif
-#define bottom_rngparser
-#include "elfgcchack.h"
diff --git a/schematron.c b/schematron.c
index ddbb069b..d005f56b 100644
--- a/schematron.c
+++ b/schematron.c
@@ -1782,6 +1782,5 @@ main(void)
     return (0);
 }
 #endif
-#define bottom_schematron
-#include "elfgcchack.h"
+
 #endif /* LIBXML_SCHEMATRON_ENABLED */
diff --git a/threads.c b/threads.c
index 503d2bfb..42ab82f4 100644
--- a/threads.c
+++ b/threads.c
@@ -1045,5 +1045,3 @@ DllMain(ATTRIBUTE_UNUSED HINSTANCE hinstDLL, DWORD fdwReason,
     return TRUE;
 }
 #endif
-#define bottom_threads
-#include "elfgcchack.h"
diff --git a/tree.c b/tree.c
index 9d94aa42..32d66339 100644
--- a/tree.c
+++ b/tree.c
@@ -10188,5 +10188,3 @@ xmlDOMWrapAdoptNode(xmlDOMWrapCtxtPtr ctxt,
     return (0);
 }
 
-#define bottom_tree
-#include "elfgcchack.h"
diff --git a/uri.c b/uri.c
index ccc26aa5..81ec7f43 100644
--- a/uri.c
+++ b/uri.c
@@ -2558,5 +2558,3 @@ xmlPathToURI(const xmlChar *path)
     xmlFree(cal);
     return(ret);
 }
-#define bottom_uri
-#include "elfgcchack.h"
diff --git a/valid.c b/valid.c
index 5cd1e676..23f868a3 100644
--- a/valid.c
+++ b/valid.c
@@ -7143,5 +7143,3 @@ xmlValidGetValidElements(xmlNode *prev, xmlNode *next, const xmlChar **names,
 }
 #endif /* LIBXML_VALID_ENABLED */
 
-#define bottom_valid
-#include "elfgcchack.h"
diff --git a/win32/VC10/libxml2-focus.vcxproj b/win32/VC10/libxml2-focus.vcxproj
index 914ce251..ba6dae6f 100644
--- a/win32/VC10/libxml2-focus.vcxproj
+++ b/win32/VC10/libxml2-focus.vcxproj
@@ -174,11 +174,10 @@
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\acconfig.h" />
-    <ClInclude Include="..\..\elfgcchack.h" />
     <ClInclude Include="..\..\libxml.h" />
     <ClInclude Include="config.h" />
   </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/win32/VC10/libxml2.vcxproj b/win32/VC10/libxml2.vcxproj
index 0588fa69..3095e12b 100644
--- a/win32/VC10/libxml2.vcxproj
+++ b/win32/VC10/libxml2.vcxproj
@@ -117,7 +117,6 @@
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\acconfig.h" />
-    <ClInclude Include="..\..\elfgcchack.h" />
     <ClInclude Include="..\..\libxml.h" />
     <ClInclude Include="config.h" />
   </ItemGroup>
@@ -134,4 +133,4 @@
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/win32/VC10/libxml2.vcxproj.filters b/win32/VC10/libxml2.vcxproj.filters
index e8e7af3e..55f38970 100644
--- a/win32/VC10/libxml2.vcxproj.filters
+++ b/win32/VC10/libxml2.vcxproj.filters
@@ -161,11 +161,8 @@
     <ClInclude Include="..\..\acconfig.h">
       <Filter>Header Files</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\elfgcchack.h">
-      <Filter>Header Files</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\libxml.h">
       <Filter>Header Files</Filter>
     </ClInclude>
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/xinclude.c b/xinclude.c
index 2a0614d7..4f5b6846 100644
--- a/xinclude.c
+++ b/xinclude.c
@@ -2651,5 +2651,3 @@ xmlXIncludeProcessNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr node) {
 
 #else /* !LIBXML_XINCLUDE_ENABLED */
 #endif
-#define bottom_xinclude
-#include "elfgcchack.h"
diff --git a/xlink.c b/xlink.c
index ecf9f968..0390a387 100644
--- a/xlink.c
+++ b/xlink.c
@@ -179,5 +179,3 @@ xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) {
     return(ret);
 }
 #endif /* LIBXML_XPTR_ENABLED */
-#define bottom_xlink
-#include "elfgcchack.h"
diff --git a/xmlIO.c b/xmlIO.c
index 007144c7..ef6319a6 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -4133,5 +4133,3 @@ xmlNoNetExternalEntityLoader(const char *URL, const char *ID,
     return(input);
 }
 
-#define bottom_xmlIO
-#include "elfgcchack.h"
diff --git a/xmlmemory.c b/xmlmemory.c
index e0b2531a..ff500380 100644
--- a/xmlmemory.c
+++ b/xmlmemory.c
@@ -1159,5 +1159,3 @@ xmlGcMemGet(xmlFreeFunc *freeFunc, xmlMallocFunc *mallocFunc,
     return(0);
 }
 
-#define bottom_xmlmemory
-#include "elfgcchack.h"
diff --git a/xmlmodule.c b/xmlmodule.c
index 1867a5e1..82bf1339 100644
--- a/xmlmodule.c
+++ b/xmlmodule.c
@@ -463,6 +463,4 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
 
 #endif /* HAVE_OS2 */
 
-#define bottom_xmlmodule
-#include "elfgcchack.h"
 #endif /* LIBXML_MODULES_ENABLED */
diff --git a/xmlreader.c b/xmlreader.c
index b20c70ad..be3f6610 100644
--- a/xmlreader.c
+++ b/xmlreader.c
@@ -5893,6 +5893,5 @@ main(int argc, char **argv)
 }
 #endif
 #endif /* NOT_USED_YET */
-#define bottom_xmlreader
-#include "elfgcchack.h"
+
 #endif /* LIBXML_READER_ENABLED */
diff --git a/xmlregexp.c b/xmlregexp.c
index 8d01c2ba..984c7ac6 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -8266,6 +8266,5 @@ xmlExpCtxtNbCons(xmlExpCtxtPtr ctxt) {
 }
 
 #endif /* LIBXML_EXPR_ENABLED */
-#define bottom_xmlregexp
-#include "elfgcchack.h"
+
 #endif /* LIBXML_REGEXP_ENABLED */
diff --git a/xmlsave.c b/xmlsave.c
index 489505f4..3addd652 100644
--- a/xmlsave.c
+++ b/xmlsave.c
@@ -2731,5 +2731,3 @@ xmlSaveFile(const char *filename, xmlDocPtr cur) {
 
 #endif /* LIBXML_OUTPUT_ENABLED */
 
-#define bottom_xmlsave
-#include "elfgcchack.h"
diff --git a/xmlschemas.c b/xmlschemas.c
index 64fe146a..493db346 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -29170,6 +29170,4 @@ xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt)
     return (ctxt->parserCtxt);
 }
 
-#define bottom_xmlschemas
-#include "elfgcchack.h"
 #endif /* LIBXML_SCHEMAS_ENABLED */
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index af31be5f..64a3b3e0 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -6276,6 +6276,4 @@ xmlSchemaGetValType(xmlSchemaValPtr val)
     return (val->type);
 }
 
-#define bottom_xmlschemastypes
-#include "elfgcchack.h"
 #endif /* LIBXML_SCHEMAS_ENABLED */
diff --git a/xmlstring.c b/xmlstring.c
index 5a6875f5..a85685d7 100644
--- a/xmlstring.c
+++ b/xmlstring.c
@@ -1051,5 +1051,3 @@ xmlEscapeFormatString(xmlChar **msg)
     return *msg;
 }
 
-#define bottom_xmlstring
-#include "elfgcchack.h"
diff --git a/xmlunicode.c b/xmlunicode.c
index 6d0a96a0..d34ba8f3 100644
--- a/xmlunicode.c
+++ b/xmlunicode.c
@@ -3174,6 +3174,4 @@ xmlUCSIsCat(int code, const char *cat) {
     return (func(code));
 }
 
-#define bottom_xmlunicode
-#include "elfgcchack.h"
 #endif /* LIBXML_UNICODE_ENABLED */
diff --git a/xmlwriter.c b/xmlwriter.c
index 58445c84..2ca2056e 100644
--- a/xmlwriter.c
+++ b/xmlwriter.c
@@ -4733,6 +4733,4 @@ xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer,
     return sum;
 }
 
-#define bottom_xmlwriter
-#include "elfgcchack.h"
 #endif
diff --git a/xpath.c b/xpath.c
index 2da591ce..11b452e5 100644
--- a/xpath.c
+++ b/xpath.c
@@ -14732,5 +14732,3 @@ xmlXPathRegisterAllFunctions(xmlXPathContextPtr ctxt)
 }
 
 #endif /* LIBXML_XPATH_ENABLED */
-#define bottom_xpath
-#include "elfgcchack.h"
diff --git a/xpointer.c b/xpointer.c
index afeaa2ec..d6728896 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -2951,7 +2951,5 @@ xmlXPtrEvalRangePredicate(xmlXPathParserContextPtr ctxt) {
     SKIP_BLANKS;
 }
 
-#define bottom_xpointer
-#include "elfgcchack.h"
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]