svn commit: r368573 - head/bin/stty
Xin LI
delphij at FreeBSD.org
Sat Dec 12 02:24:34 UTC 2020
Author: delphij
Date: Sat Dec 12 02:24:33 2020
New Revision: 368573
URL: https://svnweb.freebsd.org/changeset/base/368573
Log:
Remove unneeded headers.
MFC after: 2 weeks
Modified:
head/bin/stty/cchar.c
head/bin/stty/key.c
head/bin/stty/modes.c
head/bin/stty/stty.c
head/bin/stty/util.c
Modified: head/bin/stty/cchar.c
==============================================================================
--- head/bin/stty/cchar.c Sat Dec 12 01:05:31 2020 (r368572)
+++ head/bin/stty/cchar.c Sat Dec 12 02:24:33 2020 (r368573)
@@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <limits.h>
-#include <stddef.h>
#include <stdlib.h>
#include <string.h>
Modified: head/bin/stty/key.c
==============================================================================
--- head/bin/stty/key.c Sat Dec 12 01:05:31 2020 (r368572)
+++ head/bin/stty/key.c Sat Dec 12 02:24:33 2020 (r368573)
@@ -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>
Modified: head/bin/stty/modes.c
==============================================================================
--- head/bin/stty/modes.c Sat Dec 12 01:05:31 2020 (r368572)
+++ head/bin/stty/modes.c Sat Dec 12 02:24:33 2020 (r368573)
@@ -36,7 +36,6 @@ static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <stddef.h>
#include <string.h>
#include "stty.h"
Modified: head/bin/stty/stty.c
==============================================================================
--- head/bin/stty/stty.c Sat Dec 12 01:05:31 2020 (r368572)
+++ head/bin/stty/stty.c Sat Dec 12 02:24:33 2020 (r368573)
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
-#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
Modified: head/bin/stty/util.c
==============================================================================
--- head/bin/stty/util.c Sat Dec 12 01:05:31 2020 (r368572)
+++ head/bin/stty/util.c Sat Dec 12 02:24:33 2020 (r368573)
@@ -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 svn-src-head
mailing list