summaryrefslogtreecommitdiff
path: root/threads.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-10-31 17:52:43 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-10-31 17:52:43 +0000
commit8bdb91dd5c6c6c89cd1668ba78b1048239ca6ca6 (patch)
treef81dc34dd3215b900dff0cb78c2f39d35a9c95c1 /threads.c
parent91c0040acee605a18c1b3bb440fbfea7892010f5 (diff)
downloadlibxml2-8bdb91dd5c6c6c89cd1668ba78b1048239ca6ca6.tar.gz
cleanup cleanup too added xmlNoNetExternalEntityLoader() from xsltproc
* Makefile.am: cleanup * threads.c: cleanup too * xmlIO.c include/libxml/xmlIO.h: added xmlNoNetExternalEntityLoader() from xsltproc * include/libxml/tree.h include/libxml/parser.h: trying to break a dependancy loop. Daniel
Diffstat (limited to 'threads.c')
-rw-r--r--threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/threads.c b/threads.c
index 4f1b0b8d..cde26f4c 100644
--- a/threads.c
+++ b/threads.c
@@ -248,6 +248,7 @@ xmlRMutexUnlock(xmlRMutexPtr tok)
* *
************************************************************************/
+#ifdef LIBXML_THREAD_ENABLED
/**
* xmlFreeGlobalState:
* @state: a thread global state
@@ -283,6 +284,7 @@ xmlNewGlobalState(void)
xmlInitializeGlobalState(gs);
return (gs);
}
+#endif /* LIBXML_THREAD_ENABLED */
/**