int (*compar)(const struct dirent **, const struct dirent **) The current code defines sortq() to accept two void *, then cast them to const struct dirent **. Because the code does not really need this cast, we can eliminate the casts by changing the function prototype to match scandir(3) expectation. MFC after: 1 month |
||
---|---|---|
.. | ||
cmds.c | ||
cmdtab.c | ||
extern.h | ||
lpc.8 | ||
lpc.c | ||
lpc.h | ||
Makefile | ||
movejobs.c |