svn commit: r356000 - in head/sbin: fsck fsck_ffs
Xin LI
delphij at FreeBSD.org
Sun Dec 22 05:44:30 UTC 2019
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"
More information about the svn-src-head
mailing list