Example of punctuals removal at sentence end
[yaz-moved-to-github.git] / test / test_file_glob.c
index a679a68..1526dc8 100644 (file)
@@ -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.
  */
 
@@ -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);