HomeFreeBSD

libc: hide alphasort_thunk behind I_AM_SCANDIR_B

Description

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]

(cherry picked from commit 992bcb37c28ad1a6426df7996f297187ae3d901a)

Details

Provenance
mjgAuthored on Aug 23 2020, 11:06 AM
rlibbyCommitted on Dec 31 2020, 7:56 PM
Parents
rGe36ac668971c: Use the 't' modifier to print a ptrdiff_t.
Branches
Unknown
Tags
Unknown