--- hatari/src/includes/scandir.h 2019/04/09 08:53:17 1.1.1.4 +++ hatari/src/includes/scandir.h 2019/04/09 08:54:30 1.1.1.5 @@ -17,11 +17,13 @@ #endif #if !HAVE_ALPHASORT -extern int alphasort(const void *d1, const void *d2); +extern int alphasort(const struct dirent **d1, const struct dirent **d2); #endif #if !HAVE_SCANDIR -extern int scandir(const char *dirname, struct dirent ***namelist, int (*sdfilter)(struct dirent *), int (*dcomp)(const void *, const void *)); +extern int scandir(const char *dirname, struct dirent ***namelist, + int (*sdfilter)(const struct dirent *), + int (*comp)(const struct dirent **, const struct dirent **)); #endif #endif /* HATARI_SCANDIR_H */