Module Name:    xsrc
Committed By:   martin
Date:           Fri Dec 16 15:10:08 UTC 2016

Modified Files:
        xsrc/external/mit/fontconfig/dist/src: fcstat.c

Log Message:
Undo a local change now that our scandir() signature has been fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/fontconfig/dist/src/fcstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/fontconfig/dist/src/fcstat.c
diff -u xsrc/external/mit/fontconfig/dist/src/fcstat.c:1.5 xsrc/external/mit/fontconfig/dist/src/fcstat.c:1.6
--- xsrc/external/mit/fontconfig/dist/src/fcstat.c:1.5	Sat Jul 12 04:11:34 2014
+++ xsrc/external/mit/fontconfig/dist/src/fcstat.c	Fri Dec 16 15:10:08 2016
@@ -166,11 +166,8 @@ FcDirChecksumScandirFilter(const struct 
 
 #ifdef HAVE_SCANDIR
 static int
-FcDirChecksumScandirSorter(const void *arg1, const void *arg2)
+FcDirChecksumScandirSorter(const struct dirent **lhs, const struct dirent **rhs)
 {
-    const struct dirent * const *lhs = arg1;
-    const struct dirent * const *rhs = arg2;
-
     return strcmp((*lhs)->d_name, (*rhs)->d_name);
 }
 #elif HAVE_SCANDIR_VOID_P

Reply via email to