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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364500
@ -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