svn commit: r357993 - in stable/12/sbin: fsck fsck_ffs

Xin LI delphij at FreeBSD.org
Sun Feb 16 07:06:26 UTC 2020


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"
 


More information about the svn-src-all mailing list