From: Adam Dickmeiss Date: Thu, 6 Jul 2006 06:08:19 +0000 (+0000) Subject: Removed HAVE_XML2, because public headers never should rely on X-Git-Tag: YAZ.2.1.26~46 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=10e13ea8cb74077e0f48b5832ccb84b996672193;p=yaz-moved-to-github.git Removed HAVE_XML2, because public headers never should rely on configure's definitions. --- diff --git a/include/yaz/nfaxml.h b/include/yaz/nfaxml.h index 582f9e7..55fc383 100644 --- a/include/yaz/nfaxml.h +++ b/include/yaz/nfaxml.h @@ -1,6 +1,6 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. - * $Id: nfaxml.h,v 1.1 2006-07-04 12:59:56 heikki Exp $ + * $Id: nfaxml.h,v 1.2 2006-07-06 06:08:19 adam Exp $ */ /** @@ -39,13 +39,8 @@ #include #include -#if HAVE_XML2 -#include - YAZ_BEGIN_CDECL - - /** \brief Parse the NFA from a XML document * * \param doc the xml tree to parse @@ -76,13 +71,11 @@ yaz_nfa *yaz_nfa_parse_xml_doc(xmlDocPtr doc); * care. * */ -yaz_nfa *yaz_nfa_parse_xml_file(char *filepath); +yaz_nfa *yaz_nfa_parse_xml_file(const char *filepath); YAZ_END_CDECL -#endif /* HAVE_XML2 */ - #endif /* YAZ_NFA_XML_H */ /*