From bc8c50351f304796dc5c54a0f3a4f4c7882ea9e4 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 16 Jun 2006 04:25:19 +0000 Subject: Remove warnings caused by #include in platform.h. Apparently we redefine a lot of stuff from standard header files... --- util-linux/mkswap.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'util-linux/mkswap.c') diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 0054eca24..b48d1f036 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c @@ -35,24 +35,14 @@ * */ -#include +#include "busybox.h" #include #include #include -#include #include /* for _IO */ #include #include /* for PAGE_SIZE and PAGE_SHIFT */ /* we also get PAGE_SIZE via getpagesize() */ -#include "busybox.h" - -#ifndef _IO -/* pre-1.3.45 */ -enum { BLKGETSIZE = 0x1260 }; -#else -/* same on i386, m68k, arm; different on alpha, mips, sparc, ppc */ -#define BLKGETSIZE _IO(0x12,96) -#endif static char *device_name = NULL; static int DEV = -1; -- cgit v1.2.3