From 10e13ea8cb74077e0f48b5832ccb84b996672193 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 6 Jul 2006 06:08:19 +0000 Subject: [PATCH] Removed HAVE_XML2, because public headers never should rely on configure's definitions. --- include/yaz/nfaxml.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 */ /* -- 1.7.10.4