--- hatari/src/includes/file.h 2019/04/01 07:11:32 1.1.1.5 +++ hatari/src/includes/file.h 2019/04/01 07:11:52 1.1.1.6 @@ -22,7 +22,7 @@ enum #if defined(__BEOS__) || (defined(__sun) && defined(__SVR4)) #include extern int alphasort(const void *d1, const void *d2); -extern int scandir(const char *dirname,struct dirent ***namelist, int(*select) __P((struct dirent *)), int (*dcomp) __P((const void *, const void *))); +extern int scandir(const char *dirname, struct dirent ***namelist, int (*select)(struct dirent *), int (*dcomp)(const void *, const void *)); #endif /* __BEOS__ */ extern void File_CleanFileName(char *pszFileName);