summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-11-04 14:50:39 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-11-04 14:50:39 +0100
commitb693905f9be450fede98748049e848cd7d485d5f (patch)
tree748ddc91b3ffa728c2dbfda767ff355ce3ef984b
parentd48faf1a7d63acf1809641e82d924e3f0a807ac1 (diff)
downloadlibxml2-b693905f9be450fede98748049e848cd7d485d5f.tar.gz
doc: Remove xmlDllMain from documentation and version script
This is a Windows-only symbol.
-rw-r--r--doc/symbols.xml3
-rw-r--r--include/libxml/threads.h2
-rw-r--r--libxml2.syms9
-rw-r--r--win32/libxml2.def.src1
4 files changed, 3 insertions, 12 deletions
diff --git a/doc/symbols.xml b/doc/symbols.xml
index 23d80397..e0a3791d 100644
--- a/doc/symbols.xml
+++ b/doc/symbols.xml
@@ -1719,9 +1719,6 @@
<release version="2.6.28">
<symbol file="xmlreader">xmlTextReaderSetup</symbol>
</release>
- <release version="2.6.29">
- <symbol file="threads">xmlDllMain</symbol>
- </release>
<release version="2.6.32">
<symbol file="schematron">xmlSchematronSetValidStructuredErrors</symbol>
</release>
diff --git a/include/libxml/threads.h b/include/libxml/threads.h
index 5c9d0bd2..98033907 100644
--- a/include/libxml/threads.h
+++ b/include/libxml/threads.h
@@ -74,12 +74,14 @@ XMLPUBFUN void XMLCALL
XMLPUBFUN xmlGlobalStatePtr XMLCALL
xmlGetGlobalState(void);
+/** DOC_DISABLE */
#if defined(LIBXML_THREAD_ENABLED) && defined(_WIN32) && \
!defined(HAVE_COMPILER_TLS) && defined(LIBXML_STATIC_FOR_DLL)
int XMLCALL
xmlDllMain(void *hinstDLL, unsigned long fdwReason,
void *lpvReserved);
#endif
+/** DOC_ENABLE */
#ifdef __cplusplus
}
diff --git a/libxml2.syms b/libxml2.syms
index a2f7e416..878cd112 100644
--- a/libxml2.syms
+++ b/libxml2.syms
@@ -2185,19 +2185,12 @@ LIBXML2_2.6.28 {
xmlTextReaderSetup;
} LIBXML2_2.6.27;
-LIBXML2_2.6.29 {
- global:
-
-# threads
- xmlDllMain;
-} LIBXML2_2.6.28;
-
LIBXML2_2.6.32 {
global:
# schematron
xmlSchematronSetValidStructuredErrors;
-} LIBXML2_2.6.29;
+} LIBXML2_2.6.28;
LIBXML2_2.7.0 {
global:
diff --git a/win32/libxml2.def.src b/win32/libxml2.def.src
index 86f687ba..4486c0e6 100644
--- a/win32/libxml2.def.src
+++ b/win32/libxml2.def.src
@@ -741,7 +741,6 @@ xmlDictQLookup
xmlDictReference
xmlDictSetLimit
xmlDictSize
-xmlDllMain
xmlDocCopyNode
xmlDocCopyNodeList
xmlDocDump