volume_id: remove some global symbols

This commit is contained in:
Kay Sievers
2006-03-27 23:03:25 +02:00
parent e688ad2d0d
commit d5618ac969
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ struct hfs_finder_info{
uint8_t id[8];
} PACKED;
struct hfs_mdb {
static struct hfs_mdb {
uint8_t signature[2];
uint32_t cr_date;
uint32_t ls_Mod;
@@ -104,7 +104,7 @@ struct hfsplus_fork {
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;
+1 -1
View File
@@ -26,7 +26,7 @@
#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;
+1 -1
View File
@@ -26,7 +26,7 @@
#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;
+1 -1
View File
@@ -36,7 +36,7 @@
#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
+4 -4
View File
@@ -26,7 +26,7 @@
#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;
@@ -53,7 +53,7 @@ struct ntfs_super_block {
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;
@@ -66,7 +66,7 @@ struct master_file_table_record {
uint32_t bytes_allocated;
} PACKED *mftr;
struct file_attribute {
static struct file_attribute {
uint32_t type;
uint32_t len;
uint8_t non_resident;
@@ -78,7 +78,7 @@ struct file_attribute {
uint16_t value_offset;
} PACKED *attr;
struct volume_info {
static struct volume_info {
uint64_t reserved;
uint8_t major_ver;
uint8_t minor_ver;