git: 71b19e1b9ccb - stable/13 - gcore: Remove unused typedefs.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 16:47:47 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=71b19e1b9ccb524b19bba3b9863dfaae633b3639

commit 71b19e1b9ccb524b19bba3b9863dfaae633b3639
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-06-30 17:03:32 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
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