]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: move MINIX_MAXPARTITIONS to minix.h
authorSami Kerola <kerolasa@iki.fi>
Wed, 20 Jul 2011 18:39:01 +0000 (20:39 +0200)
committerSami Kerola <kerolasa@iki.fi>
Wed, 20 Jul 2011 18:43:40 +0000 (20:43 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/minix.h
libblkid/src/partitions/minix.c

index d89fc2ad99a120e06971fd22bfba1bfd1c643a30..920b38e53a94c5796253deccc9ad8e9f49fa0450 100644 (file)
@@ -55,6 +55,11 @@ struct minix3_super_block {
        uint8_t  s_disk_version;
 };
 
+/*
+ * Minix subpartitions are always within primary dos partition.
+ */
+#define MINIX_MAXPARTITIONS 4
+
 #define MINIX_BLOCK_SIZE_BITS 10
 #define MINIX_BLOCK_SIZE (1<<MINIX_BLOCK_SIZE_BITS)
 
index 0887d1a3b53930cd55408f9696c324494335a936..b67d2c7b98fd86bf9e91b82ba899950d25aca66f 100644 (file)
 
 #include "partitions.h"
 #include "dos.h"
-
-/*
- * Minix subpartitions are always within primary dos partition.
- */
-#define MINIX_MAXPARTITIONS 4
+#include "minix.h"
 
 static int probe_minix_pt(blkid_probe pr, const struct blkid_idmag *mag)
 {