problem in Slacko 533 - libsentry not created.
Error : conflicting types for 'scandir'
Message points to difference in files
"dirent.h" line 252
Code: Select all
# ifndef __USE_FILE_OFFSET64
extern int scandir (__const char *__restrict __dir,
struct dirent ***__restrict __namelist,
int (*__selector) (__const struct dirent *),
int (*__cmp) (__const struct dirent **,
__const struct dirent **))
__nonnull ((1, 2));
# else
Code: Select all
int scandir( const char *dir,struct dirent ***namelist,
int (*select)(const struct dirent *),
#if(GLIBC_MINOR >= 10)
int (*compar)(const struct dirent **,const struct dirent **) ) {
#else
int (*compar)(const void *,const void *) ) {
#endif
int result;
if (!libc_handle)
initialize();
#if DEBUG
debug(2,"scandir(%s,%p,%p,%p)\n",dir,namelist,select,compar);
#endif
/* We were asked to work in "real" mode */
if( !(__instw.gstatus & INSTW_INITIALIZED) ||
!(__instw.gstatus & INSTW_OKWRAP) ) {
result=true_scandir(dir,namelist,select,compar);
return result;
}
result=true_scandir(dir,namelist,select,compar);
return result;
}
Thx for advices guys.