Page MenuHomeFreeBSD

ctfmerge: remove function cast of strcompare() for qsort()
ClosedPublic

Authored by minsoochoo0122_proton.me on Feb 2 2024, 10:12 PM.
Referenced Files
F82977668: D43715.id133781.diff
Sat, May 4, 6:01 PM
Unknown Object (File)
Sun, Apr 14, 5:37 PM
Unknown Object (File)
Mon, Apr 8, 10:32 PM
Unknown Object (File)
Mar 13 2024, 2:28 AM
Unknown Object (File)
Feb 21 2024, 3:32 AM
Unknown Object (File)
Feb 14 2024, 7:43 PM
Unknown Object (File)
Feb 7 2024, 1:30 AM
Unknown Object (File)
Feb 3 2024, 7:11 PM

Details

Summary

qsort(tifiles, nifiles, sizeof (char *), strcompare); also works.

Test Plan

make buildworld

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

qsort(tifiles, nifiles, sizeof (char *), strcompare); also works.

If we can just get rid of the cast, and it looks like we can, then let's do that.

minsoochoo0122_proton.me retitled this revision from ctfmerge: specify parameter types of strcompare() for qsort() to ctfmerge: remove function cast of strcompare() for qsort().Feb 3 2024, 2:55 AM
This revision is now accepted and ready to land.Feb 3 2024, 3:09 AM