uint8_t id[8];
} PACKED;
-struct hfs_mdb {
+static struct hfs_mdb {
uint8_t signature[2];
uint32_t cr_date;
uint32_t ls_Mod;
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
} PACKED;
-struct hfsplus_vol_header {
+static struct hfsplus_vol_header {
uint8_t signature[2];
uint16_t version;
uint32_t attributes;
#include "libvolume_id.h"
#include "util.h"
-struct mdp_super_block {
+static struct mdp_super_block {
uint32_t md_magic;
uint32_t major_version;
uint32_t minor_version;
#include "libvolume_id.h"
#include "util.h"
-struct swap_header_v1_2 {
+static struct swap_header_v1_2 {
uint8_t bootbits[1024];
uint32_t version;
uint32_t last_page;
#define LUKS_SALTSIZE 32
#define LUKS_NUMKEYS 8
-const uint8_t LUKS_MAGIC[] = {'L','U','K','S', 0xba, 0xbe};
+static const uint8_t LUKS_MAGIC[] = {'L','U','K','S', 0xba, 0xbe};
#define LUKS_MAGIC_L 6
#define LUKS_PHDR_SIZE (sizeof(struct luks_phdr)/SECTOR_SIZE+1)
#define UUID_STRING_L 40
#include "libvolume_id.h"
#include "util.h"
-struct ntfs_super_block {
+static struct ntfs_super_block {
uint8_t jump[3];
uint8_t oem_id[8];
uint16_t bytes_per_sector;
uint16_t checksum;
} PACKED *ns;
-struct master_file_table_record {
+static struct master_file_table_record {
uint8_t magic[4];
uint16_t usa_ofs;
uint16_t usa_count;
uint32_t bytes_allocated;
} PACKED *mftr;
-struct file_attribute {
+static struct file_attribute {
uint32_t type;
uint32_t len;
uint8_t non_resident;
uint16_t value_offset;
} PACKED *attr;
-struct volume_info {
+static struct volume_info {
uint64_t reserved;
uint8_t major_ver;
uint8_t minor_ver;