diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2016-02-08 16:23:55 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2016-02-08 16:23:55 +0000 |
commit | 2abb53e43ab9531afacc065b3fc4ffee1fa38b49 (patch) | |
tree | 9c7a9cb977d2a4b16497d0ffa332682cf2580464 /bin | |
parent | bcc1409d9dc16d0efdc3afc569fd742ffddfd92f (diff) |
remove needless headers
ok tb@, from Michal Mazurek
Diffstat (limited to 'bin')
-rw-r--r-- | bin/df/df.c | 3 | ||||
-rw-r--r-- | bin/df/ext2fs_df.c | 4 | ||||
-rw-r--r-- | bin/df/ffs_df.c | 5 |
3 files changed, 4 insertions, 8 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index c42aad620bb..0e7a6be362a 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: df.c,v 1.54 2015/10/09 01:37:06 deraadt Exp $ */ +/* $OpenBSD: df.c,v 1.55 2016/02/08 16:23:54 mmcc Exp $ */ /* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */ /* @@ -41,7 +41,6 @@ #include <err.h> #include <errno.h> #include <fcntl.h> -#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c index 69e6889fe47..cb44888aeca 100644 --- a/bin/df/ext2fs_df.c +++ b/bin/df/ext2fs_df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_df.c,v 1.14 2015/11/27 13:49:41 millert Exp $ */ +/* $OpenBSD: ext2fs_df.c,v 1.15 2016/02/08 16:23:54 mmcc Exp $ */ /* * This file is substantially derived from src/sys/ufs/ext2fs/ext2fs_vfsops.c:e2fs_statfs(). @@ -45,8 +45,6 @@ #include <unistd.h> #include <stdlib.h> #include <string.h> -#include <fcntl.h> -#include <fstab.h> int e2fs_df(int, char *, struct statfs *); diff --git a/bin/df/ffs_df.c b/bin/df/ffs_df.c index 19abc636204..1611d627e5c 100644 --- a/bin/df/ffs_df.c +++ b/bin/df/ffs_df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_df.c,v 1.17 2015/11/27 13:49:41 millert Exp $ */ +/* $OpenBSD: ffs_df.c,v 1.18 2016/02/08 16:23:54 mmcc Exp $ */ /* * Copyright (c) 1980, 1990, 1993, 1994 @@ -36,13 +36,12 @@ #include <sys/types.h> #include <sys/mount.h> -#include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> +#include <ufs/ufs/dinode.h> #include <unistd.h> #include <stdlib.h> #include <string.h> -#include <fcntl.h> int ffs_df(int, char *, struct statfs *); |