Remove yaz-client-commands.xml
[yaz-moved-to-github.git] / test / test_file_glob.c
index 029382b..7c8ceb8 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2013 Index Data
  * See the file LICENSE for details.
  */
 
@@ -10,7 +10,6 @@
 #include <errno.h>
 #include <string.h>
 #include <stdlib.h>
-#include <ctype.h>
 
 #include <yaz/file_glob.h>
 #include <yaz/test.h>
@@ -33,7 +32,7 @@ void tst_with_path(const char *tpath)
     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);
@@ -49,7 +48,7 @@ void tst(void)
     int ret;
     WRBUF tpath = wrbuf_alloc();
     const char *srcdir = getenv("srcdir");
-    
+
     if (srcdir)
     {
         wrbuf_puts(tpath, srcdir);