From nobody Mon Feb 27 03:15:58 2023 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 4PQ5HL2T9vz3tDvl; Mon, 27 Feb 2023 03:15:58 +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 4PQ5HL1z0Hz3N8H; Mon, 27 Feb 2023 03:15:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677467758; 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=XyO9trR4/A3jw7s3FZZGer45Bpz6/k0mRk4vYeWN+qw=; b=R61pyCtPoKsWwc/d3cxHQExCNxV9WznuxKkfZ/zH372j4qemtpf0UmhPT8XySfHgmt4ntx vKIe1BsmisiAARivT+SqIu/U7g0Ag6sDfkfVBf6w3rqcyu33BNBuY++mXFMKORI/nQ/hb1 HqbonqUI9hXTi2QH2JPeKhnKp5v5q1mRG4SD5WgWY29fgmr9+Qi3RPBEWt+ydBEkZaH4aF LcmjHC8kg3VmiN34sfZcDs7JjJSgaUYIrdXdnqDxKQJdfakpBzdq2veN8TatmZlW+Fj4DY XosPztgIq6YKtiJjmWDFzsLPHOnHsVoKRPO6TCOzxfiiChnfcBOdRMpJgcVQ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677467758; 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=XyO9trR4/A3jw7s3FZZGer45Bpz6/k0mRk4vYeWN+qw=; b=nVBoFacS9s8rhiT/Qxg1sQzUAJRU43ck4OS3opO0hTJqCCyBDujWRROBibN1NxyxAyUGYB K4cSpB2VB/t9IHJF066R0r/qL8JVyMdhz7F9bvpnzKvdgM3bkKj8pfdp05fxXl6XHdsgt0 0wxLFfzQqPTyh5ybI2nw2s4aJoyYl2D0VI8rmVwnkv4AtQ03PDsYl/MJU/PUANwwnP7al+ 7Eh9UtR/SIb3DxlehBuVyQb5Xz+lhmR6+0N7GyT7RTL+CfvxU/ZvmqkUFXEPfXKu2JSc9A S/+Vz3yhsVdw7du9B1Hhg3N2ZP30FkPIb7PLCMyEagpmaPaa5MRqd19mclG7JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677467758; a=rsa-sha256; cv=none; b=oAbDu+wYc0f/IVZC1siF7n58vK7Wmzm5uAS8fVp3j50R7hp/mGnND6I92pP+9+024bJJ5x NqhxGuItSwhuAGwwtKrnEApr+W/iC1CPi/pHATkjYaojBYQrCi18V82Pj2Q/rSxiOWTLGT 3Q9rGngTJkj6Chp4U73VQ/GcbOGswfhDa24YUfIALPXEN3mgoBc1855DJKD9mkGXQft4Wk MTi+DGmxzK+Q6ghlZGAA2F8qImZBViQfa9l/+7g2hws6rsabrngUX4ainy4HZsEz5B4nCL V/MVhWf7nZl92SwfNZlvcGpfEDA53ZJ+IIBqu56Ve1L9FFL+62Gh0S5j8v+x5g== 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 4PQ5HL11Q6z19gv; Mon, 27 Feb 2023 03:15:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31R3FwXu056457; Mon, 27 Feb 2023 03:15:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31R3FwQU056456; Mon, 27 Feb 2023 03:15:58 GMT (envelope-from git) Date: Mon, 27 Feb 2023 03:15:58 GMT Message-Id: <202302270315.31R3FwQU056456@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 2bd7bd0bbe79 - stable/12 - ctf: Remove unused function prototype for getpname() 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 2bd7bd0bbe796f3d538923d9f59de66a5694260b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=2bd7bd0bbe796f3d538923d9f59de66a5694260b commit 2bd7bd0bbe796f3d538923d9f59de66a5694260b Author: Zhenlei Huang AuthorDate: 2023-02-26 04:18:25 +0000 Commit: Zhenlei Huang CommitDate: 2023-02-27 03:15:00 +0000 ctf: Remove unused function prototype for getpname() This function prototype should have been removed along with the implementation. Fixes: 3dd552426409 ctfdump: Use getprogname() MFC after: 1 day (cherry picked from commit f8e1aa85fed08d5f689cb36d65a76d191f6500dd) (cherry picked from commit eba26d0ba37e647572b3ec285352f778ef0ec9f0) --- cddl/contrib/opensolaris/tools/ctf/common/utils.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cddl/contrib/opensolaris/tools/ctf/common/utils.h b/cddl/contrib/opensolaris/tools/ctf/common/utils.h index 99378bb4f251..6918bdab89aa 100644 --- a/cddl/contrib/opensolaris/tools/ctf/common/utils.h +++ b/cddl/contrib/opensolaris/tools/ctf/common/utils.h @@ -42,8 +42,6 @@ extern "C" { extern void vdie(const char *, va_list); extern void die(const char *, ...); -extern const char *getpname(void); - #ifdef __cplusplus } #endif