From 1e3cf6a27c630443c016192801d98254ac886b6f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 28 Jul 2009 14:11:45 +0200 Subject: [PATCH] libblkid: use superblocks.h Signed-off-by: Karel Zak --- shlibs/blkid/src/superblocks/adaptec_raid.c | 2 +- shlibs/blkid/src/superblocks/btrfs.c | 2 +- shlibs/blkid/src/superblocks/cramfs.c | 2 +- shlibs/blkid/src/superblocks/ddf_raid.c | 2 +- shlibs/blkid/src/superblocks/ext.c | 2 +- shlibs/blkid/src/superblocks/gfs.c | 2 +- shlibs/blkid/src/superblocks/hfs.c | 2 +- shlibs/blkid/src/superblocks/highpoint_raid.c | 2 +- shlibs/blkid/src/superblocks/hpfs.c | 2 +- shlibs/blkid/src/superblocks/iso9660.c | 2 +- shlibs/blkid/src/superblocks/isw_raid.c | 2 +- shlibs/blkid/src/superblocks/jfs.c | 2 +- shlibs/blkid/src/superblocks/jmicron_raid.c | 2 +- shlibs/blkid/src/superblocks/linux_raid.c | 2 +- shlibs/blkid/src/superblocks/lsi_raid.c | 2 +- shlibs/blkid/src/superblocks/luks.c | 2 +- shlibs/blkid/src/superblocks/lvm.c | 2 +- shlibs/blkid/src/superblocks/minix.c | 2 +- shlibs/blkid/src/superblocks/netware.c | 2 +- shlibs/blkid/src/superblocks/ntfs.c | 2 +- shlibs/blkid/src/superblocks/nvidia_raid.c | 2 +- shlibs/blkid/src/superblocks/ocfs.c | 2 +- shlibs/blkid/src/superblocks/promise_raid.c | 2 +- shlibs/blkid/src/superblocks/reiserfs.c | 2 +- shlibs/blkid/src/superblocks/romfs.c | 2 +- shlibs/blkid/src/superblocks/silicon_raid.c | 2 +- shlibs/blkid/src/superblocks/squashfs.c | 2 +- shlibs/blkid/src/superblocks/superblocks.h | 10 ++++++---- shlibs/blkid/src/superblocks/swap.c | 2 +- shlibs/blkid/src/superblocks/sysv.c | 2 +- shlibs/blkid/src/superblocks/udf.c | 2 +- shlibs/blkid/src/superblocks/ufs.c | 2 +- shlibs/blkid/src/superblocks/vfat.c | 2 +- shlibs/blkid/src/superblocks/via_raid.c | 2 +- shlibs/blkid/src/superblocks/vxfs.c | 2 +- shlibs/blkid/src/superblocks/xfs.c | 2 +- shlibs/blkid/src/superblocks/zfs.c | 2 +- 37 files changed, 42 insertions(+), 40 deletions(-) diff --git a/shlibs/blkid/src/superblocks/adaptec_raid.c b/shlibs/blkid/src/superblocks/adaptec_raid.c index 5e8b3a75..03f44ad7 100644 --- a/shlibs/blkid/src/superblocks/adaptec_raid.c +++ b/shlibs/blkid/src/superblocks/adaptec_raid.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct adaptec_metadata { uint32_t b0idcode; diff --git a/shlibs/blkid/src/superblocks/btrfs.c b/shlibs/blkid/src/superblocks/btrfs.c index 3205e3d9..a2019597 100644 --- a/shlibs/blkid/src/superblocks/btrfs.c +++ b/shlibs/blkid/src/superblocks/btrfs.c @@ -10,7 +10,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct btrfs_super_block { uint8_t csum[32]; diff --git a/shlibs/blkid/src/superblocks/cramfs.c b/shlibs/blkid/src/superblocks/cramfs.c index 0ea124b3..8a70f80b 100644 --- a/shlibs/blkid/src/superblocks/cramfs.c +++ b/shlibs/blkid/src/superblocks/cramfs.c @@ -15,7 +15,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct cramfs_super { diff --git a/shlibs/blkid/src/superblocks/ddf_raid.c b/shlibs/blkid/src/superblocks/ddf_raid.c index 41d6e123..89bd92c7 100644 --- a/shlibs/blkid/src/superblocks/ddf_raid.c +++ b/shlibs/blkid/src/superblocks/ddf_raid.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" /* http://www.snia.org/standards/home */ #define DDF_GUID_LENGTH 24 diff --git a/shlibs/blkid/src/superblocks/ext.c b/shlibs/blkid/src/superblocks/ext.c index c27411d2..5b190019 100644 --- a/shlibs/blkid/src/superblocks/ext.c +++ b/shlibs/blkid/src/superblocks/ext.c @@ -19,7 +19,7 @@ #include #include "linux_version.h" -#include "blkidP.h" +#include "superblocks.h" struct ext2_super_block { uint32_t s_inodes_count; diff --git a/shlibs/blkid/src/superblocks/gfs.c b/shlibs/blkid/src/superblocks/gfs.c index 584561cf..a7ff6615 100644 --- a/shlibs/blkid/src/superblocks/gfs.c +++ b/shlibs/blkid/src/superblocks/gfs.c @@ -10,7 +10,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" /* Common gfs/gfs2 constants: */ #define GFS_LOCKNAME_LEN 64 diff --git a/shlibs/blkid/src/superblocks/hfs.c b/shlibs/blkid/src/superblocks/hfs.c index 4cdef0ee..8ebff68d 100644 --- a/shlibs/blkid/src/superblocks/hfs.c +++ b/shlibs/blkid/src/superblocks/hfs.c @@ -11,7 +11,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" #include "md5.h" /* HFS / HFS+ */ diff --git a/shlibs/blkid/src/superblocks/highpoint_raid.c b/shlibs/blkid/src/superblocks/highpoint_raid.c index c7c92db4..4b4b8511 100644 --- a/shlibs/blkid/src/superblocks/highpoint_raid.c +++ b/shlibs/blkid/src/superblocks/highpoint_raid.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct hpt45x_metadata { uint32_t magic; diff --git a/shlibs/blkid/src/superblocks/hpfs.c b/shlibs/blkid/src/superblocks/hpfs.c index 2f5f0d19..406c50aa 100644 --- a/shlibs/blkid/src/superblocks/hpfs.c +++ b/shlibs/blkid/src/superblocks/hpfs.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct hpfs_boot_block { diff --git a/shlibs/blkid/src/superblocks/iso9660.c b/shlibs/blkid/src/superblocks/iso9660.c index ca53e3ae..76e550b1 100644 --- a/shlibs/blkid/src/superblocks/iso9660.c +++ b/shlibs/blkid/src/superblocks/iso9660.c @@ -17,7 +17,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct iso_volume_descriptor { unsigned char vd_type; diff --git a/shlibs/blkid/src/superblocks/isw_raid.c b/shlibs/blkid/src/superblocks/isw_raid.c index f9ae7453..0f4869fd 100644 --- a/shlibs/blkid/src/superblocks/isw_raid.c +++ b/shlibs/blkid/src/superblocks/isw_raid.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct isw_metadata { uint8_t sig[32]; diff --git a/shlibs/blkid/src/superblocks/jfs.c b/shlibs/blkid/src/superblocks/jfs.c index 5d9b39ac..e6e44505 100644 --- a/shlibs/blkid/src/superblocks/jfs.c +++ b/shlibs/blkid/src/superblocks/jfs.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct jfs_super_block { unsigned char js_magic[4]; diff --git a/shlibs/blkid/src/superblocks/jmicron_raid.c b/shlibs/blkid/src/superblocks/jmicron_raid.c index ae852f8f..70e0e1c6 100644 --- a/shlibs/blkid/src/superblocks/jmicron_raid.c +++ b/shlibs/blkid/src/superblocks/jmicron_raid.c @@ -14,7 +14,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct jm_metadata { int8_t signature[2]; diff --git a/shlibs/blkid/src/superblocks/linux_raid.c b/shlibs/blkid/src/superblocks/linux_raid.c index a5926561..0fba6348 100644 --- a/shlibs/blkid/src/superblocks/linux_raid.c +++ b/shlibs/blkid/src/superblocks/linux_raid.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct mdp0_super_block { uint32_t md_magic; diff --git a/shlibs/blkid/src/superblocks/lsi_raid.c b/shlibs/blkid/src/superblocks/lsi_raid.c index d9ac4e12..6baaaa47 100644 --- a/shlibs/blkid/src/superblocks/lsi_raid.c +++ b/shlibs/blkid/src/superblocks/lsi_raid.c @@ -14,7 +14,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct lsi_metadata { uint8_t sig[6]; diff --git a/shlibs/blkid/src/superblocks/luks.c b/shlibs/blkid/src/superblocks/luks.c index 2fe4ff3b..486779d2 100644 --- a/shlibs/blkid/src/superblocks/luks.c +++ b/shlibs/blkid/src/superblocks/luks.c @@ -15,7 +15,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" #define LUKS_CIPHERNAME_L 32 #define LUKS_CIPHERMODE_L 32 diff --git a/shlibs/blkid/src/superblocks/lvm.c b/shlibs/blkid/src/superblocks/lvm.c index d8edc37a..facf703e 100644 --- a/shlibs/blkid/src/superblocks/lvm.c +++ b/shlibs/blkid/src/superblocks/lvm.c @@ -14,7 +14,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" #define LVM1_ID_LEN 128 #define LVM2_ID_LEN 32 diff --git a/shlibs/blkid/src/superblocks/minix.c b/shlibs/blkid/src/superblocks/minix.c index b29b9a42..784f0758 100644 --- a/shlibs/blkid/src/superblocks/minix.c +++ b/shlibs/blkid/src/superblocks/minix.c @@ -9,7 +9,7 @@ * GNU Lesser General Public License. */ -#include "blkidP.h" +#include "superblocks.h" static int probe_minix(blkid_probe pr, const struct blkid_idmag *mag) { diff --git a/shlibs/blkid/src/superblocks/netware.c b/shlibs/blkid/src/superblocks/netware.c index 722506f8..7ef21625 100644 --- a/shlibs/blkid/src/superblocks/netware.c +++ b/shlibs/blkid/src/superblocks/netware.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct netware_super_block { uint8_t SBH_Signature[4]; diff --git a/shlibs/blkid/src/superblocks/ntfs.c b/shlibs/blkid/src/superblocks/ntfs.c index 55a186a3..21a2d8dd 100644 --- a/shlibs/blkid/src/superblocks/ntfs.c +++ b/shlibs/blkid/src/superblocks/ntfs.c @@ -11,7 +11,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct ntfs_super_block { uint8_t jump[3]; diff --git a/shlibs/blkid/src/superblocks/nvidia_raid.c b/shlibs/blkid/src/superblocks/nvidia_raid.c index 76361763..da989e07 100644 --- a/shlibs/blkid/src/superblocks/nvidia_raid.c +++ b/shlibs/blkid/src/superblocks/nvidia_raid.c @@ -14,7 +14,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct nv_metadata { uint8_t vendor[8]; diff --git a/shlibs/blkid/src/superblocks/ocfs.c b/shlibs/blkid/src/superblocks/ocfs.c index f9bd11aa..6e58b37a 100644 --- a/shlibs/blkid/src/superblocks/ocfs.c +++ b/shlibs/blkid/src/superblocks/ocfs.c @@ -12,7 +12,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct ocfs_volume_header { unsigned char minor_version[4]; diff --git a/shlibs/blkid/src/superblocks/promise_raid.c b/shlibs/blkid/src/superblocks/promise_raid.c index 29540092..94a64469 100644 --- a/shlibs/blkid/src/superblocks/promise_raid.c +++ b/shlibs/blkid/src/superblocks/promise_raid.c @@ -15,7 +15,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct promise_metadata { uint8_t sig[24]; diff --git a/shlibs/blkid/src/superblocks/reiserfs.c b/shlibs/blkid/src/superblocks/reiserfs.c index f9a46787..341470ab 100644 --- a/shlibs/blkid/src/superblocks/reiserfs.c +++ b/shlibs/blkid/src/superblocks/reiserfs.c @@ -12,7 +12,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct reiserfs_super_block { uint32_t rs_blocks_count; diff --git a/shlibs/blkid/src/superblocks/romfs.c b/shlibs/blkid/src/superblocks/romfs.c index b5c20ab7..3b323717 100644 --- a/shlibs/blkid/src/superblocks/romfs.c +++ b/shlibs/blkid/src/superblocks/romfs.c @@ -15,7 +15,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct romfs_super_block { unsigned char ros_magic[8]; diff --git a/shlibs/blkid/src/superblocks/silicon_raid.c b/shlibs/blkid/src/superblocks/silicon_raid.c index a65d79a8..08406b27 100644 --- a/shlibs/blkid/src/superblocks/silicon_raid.c +++ b/shlibs/blkid/src/superblocks/silicon_raid.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct silicon_metadata { uint8_t unknown0[0x2E]; diff --git a/shlibs/blkid/src/superblocks/squashfs.c b/shlibs/blkid/src/superblocks/squashfs.c index 74f53bfb..04f9e71c 100644 --- a/shlibs/blkid/src/superblocks/squashfs.c +++ b/shlibs/blkid/src/superblocks/squashfs.c @@ -14,7 +14,7 @@ #include #include "bitops.h" /* swab16() */ -#include "blkidP.h" +#include "superblocks.h" struct sqsh_super_block { uint32_t s_magic; diff --git a/shlibs/blkid/src/superblocks/superblocks.h b/shlibs/blkid/src/superblocks/superblocks.h index 78dbd406..d8e32a13 100644 --- a/shlibs/blkid/src/superblocks/superblocks.h +++ b/shlibs/blkid/src/superblocks/superblocks.h @@ -1,11 +1,13 @@ /* - * Copyright (C) 2008 Karel Zak + * Copyright (C) 2008-2009 Karel Zak * * This file may be redistributed under the terms of the * GNU Lesser General Public License. */ -#ifndef _BLKID_PROBE_H -#define _BLKID_PROBE_H +#ifndef _BLKID_SUPERBLOCKS_H +#define _BLKID_SUPERBLOCKS_H + +#include "blkidP.h" extern const struct blkid_idinfo cramfs_idinfo; extern const struct blkid_idinfo swap_idinfo; @@ -58,4 +60,4 @@ extern const struct blkid_idinfo xenix_idinfo; extern const struct blkid_idinfo btrfs_idinfo; extern const struct blkid_idinfo zfs_idinfo; -#endif /* _BLKID_PROBE_H */ +#endif /* _BLKID_SUPERBLOCKS_H */ diff --git a/shlibs/blkid/src/superblocks/swap.c b/shlibs/blkid/src/superblocks/swap.c index c289488a..5f7dd107 100644 --- a/shlibs/blkid/src/superblocks/swap.c +++ b/shlibs/blkid/src/superblocks/swap.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" /* linux-2.6/include/linux/swap.h */ struct swap_header_v1_2 { diff --git a/shlibs/blkid/src/superblocks/sysv.c b/shlibs/blkid/src/superblocks/sysv.c index 933163a2..82e6a1fa 100644 --- a/shlibs/blkid/src/superblocks/sysv.c +++ b/shlibs/blkid/src/superblocks/sysv.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" #define XENIX_NICINOD 100 #define XENIX_NICFREE 100 diff --git a/shlibs/blkid/src/superblocks/udf.c b/shlibs/blkid/src/superblocks/udf.c index 5f4046d6..3b972ee9 100644 --- a/shlibs/blkid/src/superblocks/udf.c +++ b/shlibs/blkid/src/superblocks/udf.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct volume_descriptor { struct descriptor_tag { diff --git a/shlibs/blkid/src/superblocks/ufs.c b/shlibs/blkid/src/superblocks/ufs.c index fe9870d8..664f024b 100644 --- a/shlibs/blkid/src/superblocks/ufs.c +++ b/shlibs/blkid/src/superblocks/ufs.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct ufs_super_block { uint32_t fs_link; diff --git a/shlibs/blkid/src/superblocks/vfat.c b/shlibs/blkid/src/superblocks/vfat.c index a83175c0..9c20ebd9 100644 --- a/shlibs/blkid/src/superblocks/vfat.c +++ b/shlibs/blkid/src/superblocks/vfat.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" /* Yucky misaligned values */ struct vfat_super_block { diff --git a/shlibs/blkid/src/superblocks/via_raid.c b/shlibs/blkid/src/superblocks/via_raid.c index 22022fdd..b2d4efc5 100644 --- a/shlibs/blkid/src/superblocks/via_raid.c +++ b/shlibs/blkid/src/superblocks/via_raid.c @@ -16,7 +16,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct via_metadata { uint16_t signature; diff --git a/shlibs/blkid/src/superblocks/vxfs.c b/shlibs/blkid/src/superblocks/vxfs.c index 7a27b6c9..fdab85a7 100644 --- a/shlibs/blkid/src/superblocks/vxfs.c +++ b/shlibs/blkid/src/superblocks/vxfs.c @@ -7,7 +7,7 @@ #include -#include "blkidP.h" +#include "superblocks.h" struct vxfs_super_block { uint32_t vs_magic; diff --git a/shlibs/blkid/src/superblocks/xfs.c b/shlibs/blkid/src/superblocks/xfs.c index fa7914e2..ee4e338d 100644 --- a/shlibs/blkid/src/superblocks/xfs.c +++ b/shlibs/blkid/src/superblocks/xfs.c @@ -17,7 +17,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" struct xfs_super_block { unsigned char xs_magic[4]; diff --git a/shlibs/blkid/src/superblocks/zfs.c b/shlibs/blkid/src/superblocks/zfs.c index 7d39034f..02033af1 100644 --- a/shlibs/blkid/src/superblocks/zfs.c +++ b/shlibs/blkid/src/superblocks/zfs.c @@ -13,7 +13,7 @@ #include #include -#include "blkidP.h" +#include "superblocks.h" /* #include */ #define UBERBLOCK_MAGIC 0x00bab10c /* oo-ba-bloc! */ -- 2.39.5