1 diff -Naur installwatch-0.7.0beta7PREV1/installwatch.c installwatch-0.7.0beta7/installwatch.c
2 --- installwatch-0.7.0beta7PREV1/installwatch.c 2014-12-20 08:20:24.000000000 +0800
3 +++ installwatch-0.7.0beta7/installwatch.c 2014-12-20 08:31:17.000000000 +0800
5 static int (*true_xstat)(int,const char *,struct stat *);
6 static int (*true_lxstat)(int,const char *,struct stat *);
8 -#if(GLIBC_MINOR >= 10)
10 static int (*true_scandir)( const char *,struct dirent ***,
11 int (*)(const struct dirent *),
12 int (*)(const struct dirent **,const struct dirent **));
16 -static int (*true_scandir)( const char *,struct dirent ***,
17 - int (*)(const struct dirent *),
18 - int (*)(const void *,const void *));
21 static int (*true_symlink)(const char *, const char *);
22 static int (*true_truncate)(const char *, TRUNCATE_T);
24 static int (*true_open64)(const char *, int, ...);
25 static struct dirent64 *(*true_readdir64)(DIR *dir);
27 -#if(GLIBC_MINOR >= 10)
28 static int (*true_scandir64)( const char *,struct dirent64 ***,
29 int (*)(const struct dirent64 *),
30 int (*)(const struct dirent64 **,const struct dirent64 **));
32 -static int (*true_scandir64)( const char *,struct dirent64 ***,
33 - int (*)(const struct dirent64 *),
34 - int (*)(const void *,const void *));
36 static int (*true_xstat64)(int,const char *, struct stat64 *);
37 static int (*true_lxstat64)(int,const char *, struct stat64 *);
38 static int (*true_truncate64)(const char *, __off64_t);
39 @@ -3071,11 +3058,7 @@
41 int scandir( const char *dir,struct dirent ***namelist,
42 int (*select)(const struct dirent *),
43 -#if (GLIBC_MINOR >= 10)
44 int (*compar)(const struct dirent **,const struct dirent **) ) {
46 - int (*compar)(const void *,const void *) ) {
51 @@ -3686,11 +3669,7 @@
53 int scandir64( const char *dir,struct dirent64 ***namelist,
54 int (*select)(const struct dirent64 *),
55 -#if (GLIBC_MINOR >= 10)
56 int (*compar)(const struct dirent64 **,const struct dirent64 **) ) {
58 - int (*compar)(const void *,const void *) ) {