X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarcdisp.c;h=0ef545ef6590395254e469ff4fd2ca5c33325811;hb=7bfdd9cdcbfd12d6690278c9b56a7ac26b2457e9;hp=25428060a53ea107b89aceb860d3b3eaa374fe28;hpb=5a0cf1c72149bbd2b40c766910d3196309bc5b46;p=yaz-moved-to-github.git diff --git a/src/marcdisp.c b/src/marcdisp.c index 2542806..0ef545e 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ @@ -140,10 +140,12 @@ static void marc_iconv_reset(yaz_marc_t mt, WRBUF wr) static int marc_exec_leader(const char *leader_spec, char *leader, size_t size); +#if YAZ_HAVE_XML2 static int yaz_marc_write_xml_turbo_xml(yaz_marc_t mt, xmlNode **root_ptr, const char *ns, const char *format, const char *type); +#endif static struct yaz_marc_node *yaz_marc_add_node(yaz_marc_t mt) {