git: 7252457be7e9 - stable/13 - gcore: Trim stale bits from elf32core.c.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 25 Aug 2022 17:31:33 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=7252457be7e9dc7933fa3f89f4cf1dc46a3b4ed8

commit 7252457be7e9dc7933fa3f89f4cf1dc46a3b4ed8
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-07-14 20:03:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-08-25 16:31:03 +0000

    gcore: Trim stale bits from elf32core.c.
    
    These should have been removed in
    d95657a1a758e8d993a0eb92259f8c860a309207.
    
    Reviewed by:    markj
    Sponsored by:   DARPA
    Differential Revision:  https://reviews.freebsd.org/D35748
    
    (cherry picked from commit a6c3e5fa39a01d63d18b24d9afabfc95c734650e)
---
 usr.bin/gcore/elf32core.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.bin/gcore/elf32core.c b/usr.bin/gcore/elf32core.c
index 29fb7d3608b4..196ba9f1cec0 100644
--- a/usr.bin/gcore/elf32core.c
+++ b/usr.bin/gcore/elf32core.c
@@ -5,9 +5,6 @@
 
 #define __ELF_WORD_SIZE 32
 #define _MACHINE_ELF_WANT_32BIT
-#define	_WANT_LWPINFO32
-
-#include <sys/procfs.h>
 
 #define	ELFCORE_COMPAT_32	1
 #include "elfcore.c"