git: bc680a5ff383 - bin/stty: Remove unneeded headers.
Xin LI
delphij at FreeBSD.org
Sat Dec 26 01:36:41 UTC 2020
The branch stable/12 has been updated by delphij:
URL: https://cgit.FreeBSD.org/src/commit/?id=bc680a5ff383935fa1ebe8d90f98189e33b6c920
commit bc680a5ff383935fa1ebe8d90f98189e33b6c920
Author: Xin LI <delphij at FreeBSD.org>
AuthorDate: 2020-12-12 02:24:33 +0000
Commit: Xin LI <delphij at FreeBSD.org>
CommitDate: 2020-12-26 01:36:07 +0000
bin/stty: Remove unneeded headers.
(cherry picked from commit 3601af4da2686fd29335abce8859205b64c312dd)
---
bin/stty/cchar.c | 1 -
bin/stty/key.c | 1 -
bin/stty/modes.c | 1 -
bin/stty/stty.c | 1 -
bin/stty/util.c | 2 --
5 files changed, 6 deletions(-)
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c
index 52c3219ac788..ecefbb2bc8f3 100644
--- a/bin/stty/cchar.c
+++ b/bin/stty/cchar.c
@@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <limits.h>
-#include <stddef.h>
#include <stdlib.h>
#include <string.h>
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 632524305628..4514a0ea1c04 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <err.h>
-#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/bin/stty/modes.c b/bin/stty/modes.c
index e34afb83ee38..af24fa018254 100644
--- a/bin/stty/modes.c
+++ b/bin/stty/modes.c
@@ -36,7 +36,6 @@ static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <stddef.h>
#include <string.h>
#include "stty.h"
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 234008329c0a..9aa2f51aa81f 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
-#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
diff --git a/bin/stty/util.c b/bin/stty/util.c
index 8c2755820d8d..19898ba9805f 100644
--- a/bin/stty/util.c
+++ b/bin/stty/util.c
@@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include "stty.h"
More information about the dev-commits-src-all
mailing list