yaz_file_globfree(&glob_res);
}
-static check_file(const char *got, const char *expect)
+static int check_file(const char *got, const char *expect)
{
const char *f = got;
size_t l_match = strlen(expect);
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <yaz/test.h>
* Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <yaz/record_conv.h>
#include <yaz/test.h>
#include <yaz/wrbuf.h>
#include <string.h>
#include <yaz/log.h>
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#if YAZ_HAVE_XML2
#include <libxml/parser.h>
* Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <yaz/retrieval.h>
#include <yaz/test.h>
#include <yaz/wrbuf.h>
#include <string.h>
#include <yaz/log.h>
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#if YAZ_HAVE_XSLT
#include <libxml/parser.h>