summaryrefslogtreecommitdiffhomepage
path: root/freeramdisk.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 09:56:35 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 09:56:35 +0000
commit1e03add675c58c17d96f51cafa008066d4220a09 (patch)
tree707976ee4be91a365342b34d8069e6c9e0f089bf /freeramdisk.c
parent5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c (diff)
a few minor cleanups.
-Erik
Diffstat (limited to 'freeramdisk.c')
-rw-r--r--freeramdisk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/freeramdisk.c b/freeramdisk.c
index fdac5ea46..a6fa2431f 100644
--- a/freeramdisk.c
+++ b/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"