From nobody Sun Feb 26 05:37:01 2023 X-Original-To: dev-commits-src-main@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 4PPXSY3xMyz3rv3H; Sun, 26 Feb 2023 05:37:01 +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 4PPXSY3Tpvz41Zd; Sun, 26 Feb 2023 05:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677389821; 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=yhNNgudy6i7jP7inghEjQcQN4EFD44ZEFyGizA3pGnw=; b=liL/lFvndBbP366P+6mbRES3S5j+oLifPAFOfFI1Ioa6FJJsB6dvHLy4mVIwvg6FVLD4T0 LM+wo0engJYchfmvoJQXjCt7WT73nGyP4VdCh1SVjex4HOK8wugGixT/mzyNbb62r2QK7i tYkIgAIdsTm+zl9Fc2ijr+FT8X8Yw07sZXeeSgDmKwkZEDHFkcGYybAvKFI/I/IGZeSaCD v2WOxM39SsuJboi43KTOlZm30m9TMDXH+tHzk7zDXXA8JuISMXRnuq2nMBMkGkOwGfIGse QXcNoySry6rVrCl5Hv+J47dsBX5fW3FjuFqyIGmqIxzme0s3aLzLwEPb6WFoRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677389821; 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=yhNNgudy6i7jP7inghEjQcQN4EFD44ZEFyGizA3pGnw=; b=sqURRZ1j42JLONIxzOrLMg/aYCnUkl0GHipO3adMNTgSg6WawBc03VkKq6JP32lEN+y89n Dpv3jVeQXb6jfdlLTg6F/1Wp9GUrKtItjI6q2HMrF6AtDqq2iu2UuhhsZxEPNWEjaewiV2 X5WVrWBL5fyJ0sKjHFHqA0Pc2Xs8ge1URThX18Tkl/uNowZikYXoHzNKdKmNjZrKsqpUht ENM0E6/0YJ4YKsf02r4Q6WkM4vlry1AubQPInPAJKJmjYxpQdMacsH+/f/+SNwzkLDmddQ yQxhNu1bzmpogxUcGATEoe7JvefwRRE/CGhhzcMxZu6Np9VhU+1mgLtuMawulw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677389821; a=rsa-sha256; cv=none; b=g0o+U2YcvgKPaoBaW5yKv/rirALxogigc/gxZjbZq7LKjIg1Yz1/840NuNXj8ARkzJRRh/ +KrjV/yvO3PD+oN0ksm4FbUvKmU2MWfszfMJWjDsGaZpBoggaTR9hh0kHe43Eppcx9+O7W KKO8wrK8Nc9UbLtgrTCywPhcuxn1Omj86SdtcIVX47PO5lDeKwP3eOHcn7tAjmOenvEPI3 567mFgntx96q52K2t5gvsJzov0ybz6t106vwXz7nEPxpv0eftzaICXG2AW51Z8o/k2X0xF plxdddTuNddQ9KI+Nw2Cn9tmjsFiMpRUD2cXHJNbSf11m+LQtDDWNlAVDDNANw== 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 4PPXSY2XFLzYP8; Sun, 26 Feb 2023 05:37:01 +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 31Q5b10t023269; Sun, 26 Feb 2023 05:37:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31Q5b1NY023268; Sun, 26 Feb 2023 05:37:01 GMT (envelope-from git) Date: Sun, 26 Feb 2023 05:37:01 GMT Message-Id: <202302260537.31Q5b1NY023268@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: f8e1aa85fed0 - main - ctf: Remove unused function prototype for getpname() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: f8e1aa85fed08d5f689cb36d65a76d191f6500dd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f8e1aa85fed08d5f689cb36d65a76d191f6500dd commit f8e1aa85fed08d5f689cb36d65a76d191f6500dd Author: Zhenlei Huang AuthorDate: 2023-02-26 04:18:25 +0000 Commit: Zhenlei Huang CommitDate: 2023-02-26 04:18:25 +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 --- 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