summaryrefslogtreecommitdiff
path: root/bin/df
diff options
context:
space:
mode:
Diffstat (limited to 'bin/df')
-rw-r--r--bin/df/ext2fs_df.c4
-rw-r--r--bin/df/ffs_df.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c
index cb44888aeca..f3622359599 100644
--- a/bin/df/ext2fs_df.c
+++ b/bin/df/ext2fs_df.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_df.c,v 1.15 2016/02/08 16:23:54 mmcc Exp $ */
+/* $OpenBSD: ext2fs_df.c,v 1.16 2016/03/01 17:57:49 mmcc Exp $ */
/*
* This file is substantially derived from src/sys/ufs/ext2fs/ext2fs_vfsops.c:e2fs_statfs().
@@ -42,8 +42,6 @@
#include <sys/mount.h>
#include <ufs/ext2fs/ext2fs.h>
#include <ufs/ext2fs/ext2fs_dinode.h>
-#include <unistd.h>
-#include <stdlib.h>
#include <string.h>
int e2fs_df(int, char *, struct statfs *);
diff --git a/bin/df/ffs_df.c b/bin/df/ffs_df.c
index 1611d627e5c..b23301ea238 100644
--- a/bin/df/ffs_df.c
+++ b/bin/df/ffs_df.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_df.c,v 1.18 2016/02/08 16:23:54 mmcc Exp $ */
+/* $OpenBSD: ffs_df.c,v 1.19 2016/03/01 17:57:49 mmcc Exp $ */
/*
* Copyright (c) 1980, 1990, 1993, 1994
@@ -39,8 +39,6 @@
#include <ufs/ffs/fs.h>
#include <ufs/ufs/dinode.h>
-#include <unistd.h>
-#include <stdlib.h>
#include <string.h>
int ffs_df(int, char *, struct statfs *);