summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/exitfail.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-04-13 22:34:01 +0000
committerdelphij <delphij@FreeBSD.org>2012-04-13 22:34:01 +0000
commit716dc0a601e63e27f4d5fa9699d4a218d60e2557 (patch)
treef5a223e26839d40e24676334780547881aedb4b8 /contrib/diff/lib/exitfail.c
parentc185a54ef0533cec95acb9b6a475abf7bbabef63 (diff)
downloadFreeBSD-src-716dc0a601e63e27f4d5fa9699d4a218d60e2557.zip
FreeBSD-src-716dc0a601e63e27f4d5fa9699d4a218d60e2557.tar.gz
The scandir(3) function expects fourth parameter, compar, be in type of:
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
Diffstat (limited to 'contrib/diff/lib/exitfail.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud