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
Unknown Object (File)
Oct 2 2024, 11:34 AM
Unknown Object (File)
Sep 22 2024, 11:08 AM
Unknown Object (File)
Sep 18 2024, 4:59 PM
Unknown Object (File)
Sep 17 2024, 10:45 PM
Unknown Object (File)
Sep 17 2024, 12:18 AM
Unknown Object (File)
Sep 9 2024, 12:02 AM
Unknown Object (File)
Sep 8 2024, 10:39 AM
Unknown Object (File)
Sep 7 2024, 9:20 AM

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