From nobody Sun Feb 11 15:15:35 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TXrkb4zFlz59tm5; Sun, 11 Feb 2024 15:15:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXrkb4Rjnz4ZyV; Sun, 11 Feb 2024 15:15:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707664535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AgyoXSbhFdE26yrBGD0zlLSbjxH272+8msq/bwwEKUU=; b=o3+j38wm1Jqz0av7HDL07p7fmMeGSAgn3FGy+dEuRNKaONe17C9X2E80tmmDqtM2wmyITQ 93GnkEInu/lAUAwNT0koGTYmHkM15WRsDc98jpQqiGJeCxfZD9wVz2TSM8MhJvHbtiQWH4 sQDw5HGPmT2jSVoewie+fLct4qmp3WO4HrWuTGI8yzydqH7a7OoF+OgJAFIDvOjAf48xmH oJ82oE1RGItpEl2/WqobaWF2Fiq30uv2b63eOhMYzohRDH8PAqW7Ksygh5EMOHRFMMINyB htBoaQyS3/AUhKMqEzbeP6rHC7q3aLkW+w1p4cmEE0kXAjvoFicWmtA4v0011g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707664535; a=rsa-sha256; cv=none; b=eKP5pMUY26RMRPV4Rm+rV5qhTcqY4ZehcS7KTdSonNULFyOl1D2koMzMUUYxp00JMFvgu8 mFtPjNhmCrXi+zQIyD0w0HBdysR8oxhA8OmOaF/el7gwlG/Z7G0Bq47fyQfVpxBWbZvrAD eDCBMbX8pn+QZNLL0xKmv6BJqFOOWG86Fi4paSuTI3WMkC1isTeau7p1RUjus2tj4bE/5e Q4WIKmRRq8pzxaSB4PiwBoxjekBID9za0v3d3AELkJDBLRJyxV9KCYQmhqNynB/0JoIhKR b8sPZsfdrw0dsqsTanmA+4WI1FE0W5xxMBufiHmkagd3ULM29kxEs/gJOreVdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707664535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AgyoXSbhFdE26yrBGD0zlLSbjxH272+8msq/bwwEKUU=; b=gx5u8hLjMQdLYTrE9rHL9wh+iSzKW/QhERbsdkJzHBlP8A4efvSQdJe0fPOr0Icq9OZcQr hpm89mxDX6ko2EzUq7Wh3r4QzqVR7v6Ctk7JS+HVBtYYU25B+LEJ+ydkt2cL6WwNaPx6+X Zd+q+HqH73WMYnv+FnkjvolNdXQjW7cejGD2l46IzSKRR2uK9OFPiMH/BKAvpbOlMs9T6m J/46S8KugWN5iFNjIEgDWAgu617yOrTA21FWqdnZZOxMCzxoqZdDn4JZHMMlAdHbR8z9sK WvSp/j4ZPYDK68vc7BIGkeWyq7yBL/P6Kb+noffVfKx2DzNHnZcM4MmJbAMzdA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TXrkb3Vkbz14P3; Sun, 11 Feb 2024 15:15:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41BFFZns041101; Sun, 11 Feb 2024 15:15:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41BFFZc7041098; Sun, 11 Feb 2024 15:15:35 GMT (envelope-from git) Date: Sun, 11 Feb 2024 15:15:35 GMT Message-Id: <202402111515.41BFFZc7041098@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: ac5b3cba91f9 - stable/14 - ctfmerge: Remove function cast of strcompare() for qsort() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ac5b3cba91f94b273286af19abeab5440ffccef0 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ac5b3cba91f94b273286af19abeab5440ffccef0 commit ac5b3cba91f94b273286af19abeab5440ffccef0 Author: Minsoo Choo AuthorDate: 2024-02-03 19:06:49 +0000 Commit: Mark Johnston CommitDate: 2024-02-11 15:14:36 +0000 ctfmerge: Remove function cast of strcompare() for qsort() Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43715 (cherry picked from commit f73124b077d867990cbcb4d903b48be2ca55e4ca) --- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c index 161927cf0663..27aa4d01b03d 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c @@ -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++) {