macOS, like Linux, does not include an outer const qualifier for its
fts_open callback arguments, so -Wincompatible-function-pointer-types
also picks this up and breaks the build now Clang 16 makes it an error
by default. Extend the existing Linux support to fix this.
MFC after: 1 week
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ef.c | ||
| ef.h | ||
| ef_aarch64.c | ||
| ef_amd64.c | ||
| ef_arm.c | ||
| ef_i386.c | ||
| ef_mips.c | ||
| ef_obj.c | ||
| ef_powerpc.c | ||
| ef_riscv.c | ||
| elf.c | ||
| fileformat | ||
| kldxref.8 | ||
| kldxref.c | ||
| Makefile | ||
| Makefile.depend | ||