The usage of xmlInitThreads() and xmlCleanupThreads() functions in
libxml2 is now marked as deprecated, and these functions will be made
private in the future.
Use xmlInitParser() and xmlCleanupParser() instead of them.
(cherry picked from commit
a5d412d9243dc0404a321276364d5967fd69ea3a)
#endif /* ifdef HAVE_GPERFTOOLS_PROFILER */
#ifdef HAVE_LIBXML2
- xmlInitThreads();
+ xmlInitParser();
#endif /* HAVE_LIBXML2 */
/*
named_os_shutdown();
#ifdef HAVE_LIBXML2
- xmlCleanupThreads();
+ xmlCleanupParser();
#endif /* HAVE_LIBXML2 */
#ifdef HAVE_GPERFTOOLS_PROFILER