summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.h
diff options
context:
space:
mode:
authorKarel Zak2013-06-25 16:14:23 +0200
committerKarel Zak2013-09-16 16:47:04 +0200
commitbb58112e74fdbce1fe0170776e7695abd8d9200c (patch)
tree5d6f723d59c6b817060547eba33def9e750f8256 /fdisks/fdisk.h
parentfdisk: cleanup header file (diff)
downloadkernel-qcow2-util-linux-bb58112e74fdbce1fe0170776e7695abd8d9200c.tar.gz
kernel-qcow2-util-linux-bb58112e74fdbce1fe0170776e7695abd8d9200c.tar.xz
kernel-qcow2-util-linux-bb58112e74fdbce1fe0170776e7695abd8d9200c.zip
fdisk: (dos) remove unnecessary header file stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r--fdisks/fdisk.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h
index 5aaf0f2eb..c8f94d331 100644
--- a/fdisks/fdisk.h
+++ b/fdisks/fdisk.h
@@ -8,30 +8,9 @@
* maybe included when fdisk.c and libfdisk code will be completely spit.
*/
#include "fdiskP.h"
+#include "blkdev.h"
-#define DEFAULT_SECTOR_SIZE 512
-#define MAX_SECTOR_SIZE 2048
-#define SECTOR_SIZE 512 /* still used in BSD code */
-#define MAXIMUM_PARTS 60
-
-#define ACTIVE_FLAG 0x80
-
-#define EXTENDED 0x05
-#define WIN98_EXTENDED 0x0f
-#define LINUX_PARTITION 0x81
-#define LINUX_SWAP 0x82
-#define LINUX_NATIVE 0x83
-#define LINUX_EXTENDED 0x85
-#define LINUX_LVM 0x8e
-#define LINUX_RAID 0xfd
-
-
-#define LINE_LENGTH 800
-
-#define IS_EXTENDED(i) \
- ((i) == EXTENDED || (i) == WIN98_EXTENDED || (i) == LINUX_EXTENDED)
-
extern void toggle_units(struct fdisk_context *cxt);
static inline unsigned long