diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-30 07:15:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-30 07:15:39 +0000 |
commit | 99b3fd68abf71d3d715c3cf3d6eb0c7f2a154bbf (patch) | |
tree | 11c523db50ddd2c3782c28d2bad690bff9c9982c /bin/df | |
parent | 8e3c16779bcf9cb545a8936909e2a96350b5d521 (diff) |
Wall
Diffstat (limited to 'bin/df')
-rw-r--r-- | bin/df/ext2fs_df.c | 8 | ||||
-rw-r--r-- | bin/df/ffs_df.c | 7 | ||||
-rw-r--r-- | bin/df/lfs_df.c | 10 |
3 files changed, 17 insertions, 8 deletions
diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c index fbd22cdecf1..a92e56053b4 100644 --- a/bin/df/ext2fs_df.c +++ b/bin/df/ext2fs_df.c @@ -40,13 +40,15 @@ * @(#)ffs_vfsops.c 8.14 (Berkeley) 11/28/94 */ -#include <unistd.h> -#include <fcntl.h> #include <sys/param.h> #include <sys/mount.h> -#include <fstab.h> #include <ufs/ext2fs/ext2fs.h> #include <ufs/ext2fs/ext2fs_dinode.h> +#include <unistd.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> +#include <fstab.h> int e2fs_df __P((int, char *, struct statfs *)); diff --git a/bin/df/ffs_df.c b/bin/df/ffs_df.c index 88778f996f0..412eb6829c6 100644 --- a/bin/df/ffs_df.c +++ b/bin/df/ffs_df.c @@ -42,13 +42,16 @@ static char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ -#include <unistd.h> -#include <fcntl.h> #include <sys/param.h> #include <sys/mount.h> #include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> +#include <unistd.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> + int ffs_df __P((int, char *, struct statfs *)); extern int bread __P((int, off_t, void *, int)); diff --git a/bin/df/lfs_df.c b/bin/df/lfs_df.c index cf6121462f5..34902cddf0a 100644 --- a/bin/df/lfs_df.c +++ b/bin/df/lfs_df.c @@ -37,15 +37,19 @@ * @(#)lfs_vfsops.c 8.20 (Berkeley) 6/10/95 */ -#include <unistd.h> -#include <fcntl.h> #include <sys/param.h> #include <sys/mount.h> -#include <fstab.h> + #include <ufs/ufs/quota.h> #include <ufs/ufs/dinode.h> #include <ufs/lfs/lfs.h> +#include <unistd.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> +#include <fstab.h> + int lfs_df __P((int, char *, struct statfs *)); extern int bread __P((int, off_t, void *, int)); |