From nobody Wed Jul 13 16:47:47 2022 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 474C817FCF70; Wed, 13 Jul 2022 16:47:48 +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 4Ljk7l6KsZz3Wpk; Wed, 13 Jul 2022 16:47:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657730867; 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=dgnJ0y1bDT8UBflIlxQPakRKQ0K2kMPFWjbIA0mo4Xc=; b=JIOgQzvJVDrB3Yvv1IDaPCIsZjCDE1SCWvS8BwT6DFM1xIJrzMkTv20H78v4v/AVhPx7TX efyNIZnaSAI4UnG9GZYBYT3pJ1zwclsnhpn/YQgLFng00PyeHVIKl/9MNbUC4U2EWWl95a XHMQoH0vAc8fLj2ng9ACpE0KonwhgnlCJI6yNmc4J4ss/ZXgin8y8Mjj7Ov/Qq3dfEtEX/ fS4jGHEF6hl99ljZtCdB2DUIKMaVa6WxvsllgKUsTwZ3yDUaWqKgXmtLHJ53wZXmQrA6Go lbD2PKNVwSUhrLrWs+hACl7pJrXWOKeKvQ64YkEWdjwavjTJZfobvZANNS65hA== 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 4Ljk7l5D9PzW6Q; Wed, 13 Jul 2022 16:47:47 +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 26DGllnu052407; Wed, 13 Jul 2022 16:47:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26DGllsg052406; Wed, 13 Jul 2022 16:47:47 GMT (envelope-from git) Date: Wed, 13 Jul 2022 16:47:47 GMT Message-Id: <202207131647.26DGllsg052406@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 71b19e1b9ccb - stable/13 - gcore: Remove unused typedefs. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 71b19e1b9ccb524b19bba3b9863dfaae633b3639 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657730867; 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=dgnJ0y1bDT8UBflIlxQPakRKQ0K2kMPFWjbIA0mo4Xc=; b=yCoJ07eJQOVj9eleeyAsZg7wOakWNU7owR7wabK6Px6CdfLuXE1YrBlbycVSylfiLEi7U1 D8WyND22dGAVNGenLuZUwZHxyHqv26WpoOHawY5bFraNpL0ksITGN5+u75RlHfMJ3zX81M e7c4EG9Kx7aTBiYfp6igtQ0lrdUNqy+RX0wxulPu7LxruxxQ4QsiQBTxektcT6VLRUWGmF jySic3jyvvw5PS7mY3R4Ni+OAQ4LKaABcLKyVjlWvb45/Q2kLgMXSkD0AaEzgBObVnR+L1 dxJt7Comv7AUKbJLKVltJOVQoC5UVC7eGRkgogeLKW/it913jc4vxhKyAdP0Yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657730867; a=rsa-sha256; cv=none; b=VM857tam7gDE055NRB923cg2DPLcKvl2n4PPNn+Dl3XG1FH844f7swQMafR6rDi0oUWXMv NVr6hlSZCxfaHhRCzSgrKOAYR5qz+TWWYj3UWrqU5HBq3nAMYX14MWKc35SSo1A1q715+b B9SHQHQ+9Nd/z1CUxwfUl4goK0FLVuHGdk8PGWCjZsf5krvFho/9DS4sTK+Vkd1k5oo5dL /nrESdQR4odYEZ1uphqreT1Rt/cdichY83Jue08Mrr1arXcKcUPSLQgh5DGrlzuOhYRTI9 m1mOgjhIdsCPPArKoenvMPkqYgR0lEQf+AxlEKSStdAPwZk2syR2kmRzCmgKvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=71b19e1b9ccb524b19bba3b9863dfaae633b3639 commit 71b19e1b9ccb524b19bba3b9863dfaae633b3639 Author: John Baldwin AuthorDate: 2022-06-30 17:03:32 +0000 Commit: John Baldwin CommitDate: 2022-07-13 16:22:19 +0000 gcore: Remove unused typedefs. These are no longer needed after commit 4965ac059da1 which used PT_GETREGSET to fetch NT_PRSTATUS and NT_FPREGSET. Reviewed by: markj, emaste MFC after: 2 weeks Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D35665 (cherry picked from commit d2a3c30a511d4802412a102e9fa44f810605a872) --- usr.bin/gcore/elfcore.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index e5d7afd3f440..8a6fdb642aeb 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -84,18 +84,12 @@ struct sseg_closure { }; #ifdef ELFCORE_COMPAT_32 -typedef struct fpreg32 elfcore_fpregset_t; -typedef struct reg32 elfcore_gregset_t; typedef struct prpsinfo32 elfcore_prpsinfo_t; -typedef struct prstatus32 elfcore_prstatus_t; typedef struct ptrace_lwpinfo32 elfcore_lwpinfo_t; static void elf_convert_lwpinfo(struct ptrace_lwpinfo32 *pld, struct ptrace_lwpinfo *pls); #else -typedef fpregset_t elfcore_fpregset_t; -typedef gregset_t elfcore_gregset_t; typedef prpsinfo_t elfcore_prpsinfo_t; -typedef prstatus_t elfcore_prstatus_t; typedef struct ptrace_lwpinfo elfcore_lwpinfo_t; #define elf_convert_lwpinfo(d,s) *d = *s #endif