summaryrefslogtreecommitdiff
path: root/util-linux/umount.c
diff options
context:
space:
mode:
authorRob Landley2006-06-15 15:49:36 +0000
committerRob Landley2006-06-15 15:49:36 +0000
commit22d26fc6ae2af584482deaf92f25bb6a7261ad78 (patch)
tree3e9e7c2b43314acdd1f4db7e3a89a3c69daf814a /util-linux/umount.c
parentd6e5083d16c940e36312f4a1b52317dcfc32c011 (diff)
downloadbusybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.zip
busybox-22d26fc6ae2af584482deaf92f25bb6a7261ad78.tar.gz
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r--util-linux/umount.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 7efb636..b5696f7 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -11,15 +11,11 @@
*
*/
-#include <limits.h>
-#include <stdio.h>
+#include "busybox.h"
#include <mntent.h>
#include <errno.h>
#include <string.h>
-#include <stdlib.h>
-#include <sys/mount.h>
#include <getopt.h>
-#include "busybox.h"
#define OPTION_STRING "flDnrvad"
#define OPT_FORCE 1