summaryrefslogtreecommitdiffstats
path: root/src/hfsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hfsp.c')
-rw-r--r--src/hfsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hfsp.c b/src/hfsp.c
index 931ee47..b28f383 100644
--- a/src/hfsp.c
+++ b/src/hfsp.c
@@ -36,7 +36,7 @@
#include "fnctdsk.h"
#include "log.h"
-static int set_HFSP_info(partition_t *partition, const struct hfsp_vh *vh);
+static int set_HFSP_info(partition_t *partition);
int check_HFSP(disk_t *disk_car,partition_t *partition,const int verbose)
{
@@ -51,7 +51,7 @@ int check_HFSP(disk_t *disk_car,partition_t *partition,const int verbose)
free(buffer);
return 1;
}
- set_HFSP_info(partition,(struct hfsp_vh *)buffer);
+ set_HFSP_info(partition);
free(buffer);
return 0;
}
@@ -73,7 +73,7 @@ int recover_HFSP(disk_t *disk_car, const struct hfsp_vh *vh,partition_t *partiti
partition->part_offset-=partition->sb_offset;
}
partition->part_size=part_size;
- set_HFSP_info(partition,vh);
+ set_HFSP_info(partition);
partition->part_type_i386=P_HFSP;
partition->part_type_mac=PMAC_HFS;
partition->part_type_gpt=GPT_ENT_TYPE_MAC_HFS;
@@ -123,7 +123,7 @@ int test_HFSP(disk_t *disk_car, const struct hfsp_vh *vh,partition_t *partition,
return 0;
}
-static int set_HFSP_info(partition_t *partition, const struct hfsp_vh *vh)
+static int set_HFSP_info(partition_t *partition)
{
partition->fsname[0]='\0';
if(partition->upart_type==UP_HFSP)