git: a6c3e5fa39a0 - main - gcore: Trim stale bits from elf32core.c.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 14 Jul 2022 20:04:41 UTC
The branch main has been updated by jhb:

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

commit a6c3e5fa39a01d63d18b24d9afabfc95c734650e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-07-14 20:03:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-07-14 20:03:34 +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
---
 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"