Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271477 | Differences between
and this patch

Collapse All | Expand All

(-)a/wvdial-1.60/wvmodemscan.cc (-1 / +6 lines)
Lines 495-505 Link Here
495
	// (no internal ISDN support)   || !strncmp(e->d_name, "ttyI", 4);
495
	// (no internal ISDN support)   || !strncmp(e->d_name, "ttyI", 4);
496
}
496
}
497
497
498
498
#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)
499
static int filesort(const dirent **e1, const dirent **e2)
500
#else
499
static int filesort(const void *_e1, const void *_e2)
501
static int filesort(const void *_e1, const void *_e2)
502
#endif
500
{
503
{
504
#if !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 10))
501
    dirent const * const *e1 = (dirent const * const *)_e1;
505
    dirent const * const *e1 = (dirent const * const *)_e1;
502
    dirent const * const *e2 = (dirent const * const *)_e2;
506
    dirent const * const *e2 = (dirent const * const *)_e2;
507
#endif
503
    const char *p1, *p2;
508
    const char *p1, *p2;
504
    int diff;
509
    int diff;
505
    
510
    

Return to bug 271477