Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2020 02:24:33 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368573 - head/bin/stty
Message-ID:  <202012120224.0BC2OXXj065185@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012120224.0BC2OXXj065185>