diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-06 13:56:35 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-06 13:56:35 +0400 |
commit | 1e03add675c58c17d96f51cafa008066d4220a09 (patch) | |
tree | 707976ee4be91a365342b34d8069e6c9e0f089bf /util-linux | |
parent | 5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c (diff) |
a few minor cleanups.
-Erik
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/freeramdisk.c | 4 | ||||
-rw-r--r-- | util-linux/fsck_minix.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index fdac5ea46..a6fa2431f 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -23,7 +23,6 @@ #include <stdio.h> #include <string.h> -#include <linux/fs.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -32,6 +31,9 @@ #include "internal.h" +/* From linux/fs.h */ +#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ + static const char freeramdisk_usage[] = "freeramdisk DEVICE\n" diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index adeb78967..a140bcecf 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c @@ -86,6 +86,7 @@ * enforced (but it's not much fun on a character device :-). */ +#include <linux/fs.h> #include "internal.h" #include <stdio.h> #include <errno.h> @@ -98,8 +99,6 @@ #include <mntent.h> #include <sys/stat.h> #include <sys/param.h> - -#include <linux/fs.h> #include <linux/minix_fs.h> #ifdef MINIX2_SUPER_MAGIC2 |