Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2019 05:44:29 +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: r356000 - in head/sbin: fsck fsck_ffs
Message-ID:  <201912220544.xBM5iTPl045474@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Dec 22 05:44:29 2019
New Revision: 356000
URL: https://svnweb.freebsd.org/changeset/base/356000

Log:
  Remove unused includes.
  
  MFC after:	2 weeks

Modified:
  head/sbin/fsck/fsck.c
  head/sbin/fsck/fsutil.c
  head/sbin/fsck_ffs/utilities.c

Modified: head/sbin/fsck/fsck.c
==============================================================================
--- head/sbin/fsck/fsck.c	Sun Dec 22 05:43:13 2019	(r355999)
+++ head/sbin/fsck/fsck.c	Sun Dec 22 05:44:29 2019	(r356000)
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
 
 #include <ctype.h>
 #include <err.h>
-#include <errno.h>
 #include <fstab.h>
 #include <fcntl.h>
 #include <paths.h>

Modified: head/sbin/fsck/fsutil.c
==============================================================================
--- head/sbin/fsck/fsutil.c	Sun Dec 22 05:43:13 2019	(r355999)
+++ head/sbin/fsck/fsutil.c	Sun Dec 22 05:44:29 2019	(r356000)
@@ -42,8 +42,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/mount.h>
 
 #include <err.h>
-#include <errno.h>
-#include <fstab.h>
 #include <paths.h>
 #include <stdarg.h>
 #include <stdio.h>

Modified: head/sbin/fsck_ffs/utilities.c
==============================================================================
--- head/sbin/fsck_ffs/utilities.c	Sun Dec 22 05:43:13 2019	(r355999)
+++ head/sbin/fsck_ffs/utilities.c	Sun Dec 22 05:44:29 2019	(r356000)
@@ -45,15 +45,11 @@ __FBSDID("$FreeBSD$");
 #include <ufs/ufs/dir.h>
 #include <ufs/ffs/fs.h>
 
-#include <err.h>
 #include <errno.h>
 #include <string.h>
-#include <ctype.h>
 #include <fstab.h>
 #include <paths.h>
 #include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
 
 #include "fsck.h"
 



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