git: 7d51283f700c - main - partedit: cleanup headers

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 11:08:05 UTC
The branch main has been updated by bapt:

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

commit 7d51283f700cb6f43f3293c40a8fcab3854c5fc1
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-11-24 11:06:34 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-11-24 11:06:34 +0000

    partedit: cleanup headers
    
    Removed dialog.h where not needed and include headers actually used
---
 usr.sbin/bsdinstall/partedit/scripted.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/usr.sbin/bsdinstall/partedit/scripted.c b/usr.sbin/bsdinstall/partedit/scripted.c
index 37ac6de131b5..956855eb6e54 100644
--- a/usr.sbin/bsdinstall/partedit/scripted.c
+++ b/usr.sbin/bsdinstall/partedit/scripted.c
@@ -29,13 +29,12 @@
  */
 
 #include <sys/param.h>
-#include <errno.h>
-#include <libutil.h>
-#include <inttypes.h>
 
+#include <ctype.h>
 #include <libgeom.h>
-#include <dialog.h>
-#include <dlg_keys.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #include "partedit.h"