libc: hide alphasort_thunk behind I_AM_SCANDIR_B
Should unbreak gcc build as reported by tinderbox: lib/libc/gen/scandir.c:59:12: warning: 'alphasort_thunk' declared 'static' but never defined [-Wunused-function]
This commit is contained in:
parent
2ca83b5c27
commit
992bcb37c2
@ -56,7 +56,9 @@ void qsort_b(void *, size_t, size_t, void *);
|
||||
#define SELECT(x) select(x)
|
||||
#endif
|
||||
|
||||
#ifndef I_AM_SCANDIR_B
|
||||
static int alphasort_thunk(void *thunk, const void *p1, const void *p2);
|
||||
#endif
|
||||
|
||||
int
|
||||
#ifdef I_AM_SCANDIR_B
|
||||
|
Loading…
Reference in New Issue
Block a user