From nobody Sat Feb 03 19:10:10 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 4TS2Jz2vvSz58D7t; Sat, 3 Feb 2024 19:10:11 +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 4TS2Jz1BfLz3xYF; Sat, 3 Feb 2024 19:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706987411; 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=69l+XFlzLxlTPZlPDbaSBIlu4YtBRi0NraVpIR0kgNE=; b=NcCGe/69lBI4FHYTbcSE1kQP61BvZ+R15ns757Kg9RosTz0Nju9PEHeVDqYzIMyHOsdHXM yeUKK5ghyLfKpe5glOenyn7QuetZ5FghBn2ClRqkCVZCLbKLe6wHJEnJiVFxTMH4IgAMKw 6m/0XPIn6xEXXTb3CRV1xv/mUDfelyEa3mv+45DFjW4OLb+/axra1Q/jYYr/Y+pG8B2I0x ZIaExcaiN/Cmqj5kqN78aC10gjVjodHYQMk6fYsBLRXkW8KOP8L/Bh6tBzQR9g1LYbaSoF 4+nFsDhyhlZqlnojLH9LDZMaq39qpE22g4yB1i0e1EFVFaEL2bWTmwmQc7Johw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706987411; 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=69l+XFlzLxlTPZlPDbaSBIlu4YtBRi0NraVpIR0kgNE=; b=X0b9x0Q5mw73Ef6nicABu+asAcA1ZV8KN4buu/jUJY6jV454ZBeXnDz5zUCyFw8i62Q1q/ jo2Q4M5jNUvPabIbqYI1SMMyM3CFcyAq6XdAuFoPXlQOlZhvrEKpgNsfVYFW0kG9WBZ5AK qi0ee1eUyea5iRWOFzpZ6UNYcpEYo6U88GLIV++Jh13MMCf5QWTmRGkLjE2ubRJA0O0lie +Lr/7vLAvT0qyo03lt334PJ9JXOB0UBg+Q05Df9ftdGfzGfsF1uVo22aJOnA2SUgtzs65O Zc82ZynT4rYrW94FOec5Xz9CdnZsLDzWMNtXyaZOEMrahoTdJ2r8Wxy4GrFrGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706987411; a=rsa-sha256; cv=none; b=KWO9B+W6jK29TzH9uubvuXODHmdKYP38O9LfeWP8fExK4splFJj2hH0Fa5lPmRRgRB0iYo tUfrLVvYG1V0ydZQZC8Yadx61iOniRO9uX6+kV+5eCLMI8JDKj3Rnx9TsFb/RoZYb53BT0 iOA4pv2Jo1CcJQtQxDG84Y/vaREtmxcNdmLcmUx7m2LW6tNq+fSllKQY3JpTuw4veIFj+L yaf9w6+89wRYpwl7x4lY8d85RC9KCw3VUJXKFB8l+x9qN1Z5gmeLyMrX6pHJOyv9Rp4sRc 38Br96lVlggcUCsCpsv1rvjbLi7koPBvPb7ItgSB6UMJgFqs6XcIIyxS+3wngw== 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 4TS2Jz0GxyzQPP; Sat, 3 Feb 2024 19:10:11 +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 413JAAjM084139; Sat, 3 Feb 2024 19:10:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 413JAAP9084130; Sat, 3 Feb 2024 19:10:10 GMT (envelope-from git) Date: Sat, 3 Feb 2024 19:10:10 GMT Message-Id: <202402031910.413JAAP9084130@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: f73124b077d8 - main - 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/main X-Git-Reftype: branch X-Git-Commit: f73124b077d867990cbcb4d903b48be2ca55e4ca Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f73124b077d867990cbcb4d903b48be2ca55e4ca commit f73124b077d867990cbcb4d903b48be2ca55e4ca Author: Minsoo Choo AuthorDate: 2024-02-03 19:06:49 +0000 Commit: Mark Johnston CommitDate: 2024-02-03 19:09:52 +0000 ctfmerge: Remove function cast of strcompare() for qsort() Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43715 --- 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++) {