Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 07:06:25 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r357993 - in stable/12/sbin: fsck fsck_ffs
Message-ID:  <202002160706.01G76PJI012545@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Feb 16 07:06:25 2020
New Revision: 357993
URL: https://svnweb.freebsd.org/changeset/base/357993

Log:
  MFC r356000: Remove unused includes.

Modified:
  stable/12/sbin/fsck/fsck.c
  stable/12/sbin/fsck/fsutil.c
  stable/12/sbin/fsck_ffs/utilities.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/fsck/fsck.c
==============================================================================
--- stable/12/sbin/fsck/fsck.c	Sun Feb 16 06:34:45 2020	(r357992)
+++ stable/12/sbin/fsck/fsck.c	Sun Feb 16 07:06:25 2020	(r357993)
@@ -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: stable/12/sbin/fsck/fsutil.c
==============================================================================
--- stable/12/sbin/fsck/fsutil.c	Sun Feb 16 06:34:45 2020	(r357992)
+++ stable/12/sbin/fsck/fsutil.c	Sun Feb 16 07:06:25 2020	(r357993)
@@ -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: stable/12/sbin/fsck_ffs/utilities.c
==============================================================================
--- stable/12/sbin/fsck_ffs/utilities.c	Sun Feb 16 06:34:45 2020	(r357992)
+++ stable/12/sbin/fsck_ffs/utilities.c	Sun Feb 16 07:06:25 2020	(r357993)
@@ -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?202002160706.01G76PJI012545>