ctfmerge: Remove function cast of strcompare() for qsort()

Reviewed by:	emaste
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43715
This commit is contained in:
Minsoo Choo 2024-02-03 14:06:49 -05:00 committed by Mark Johnston
parent f846c5b346
commit f73124b077
1 changed files with 1 additions and 1 deletions

View File

@ -886,7 +886,7 @@ main(int argc, char **argv)
for (i = 0; i < nifiles; i++)
tifiles[i] = argv[optind + i];
qsort(tifiles, nifiles, sizeof (char *), (int (*)())strcompare);
qsort(tifiles, nifiles, sizeof (char *), strcompare);
ifiles[0] = tifiles[0];
for (idx = 0, tidx = 1; tidx < nifiles; tidx++) {