PhotoRec: don'tinclude iso9660.h in iso.h
This commit is contained in:
parent
67e2a113f9
commit
9b6efe3914
2 changed files with 2 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
#endif
|
||||
#include "types.h"
|
||||
#include "common.h"
|
||||
#include "iso9660.h"
|
||||
#include "iso.h"
|
||||
#include "fnctdsk.h"
|
||||
#include "log.h"
|
||||
|
@ -63,7 +64,7 @@ static int set_ISO_info(const struct iso_primary_descriptor *iso, partition_t *p
|
|||
const unsigned int volume_space_size2=iso->volume_space_size[7] | (iso->volume_space_size[6]<<8) | (iso->volume_space_size[5]<<16) | (iso->volume_space_size[4]<<24);
|
||||
const unsigned int logical_block_size=iso->logical_block_size[0] | (iso->logical_block_size[1]<<8);
|
||||
const unsigned int logical_block_size2=iso->logical_block_size[3] | (iso->logical_block_size[2]<<8);
|
||||
set_part_name_chomp(partition, iso->volume_id, 32);
|
||||
set_part_name_chomp(partition, (const unsigned char*)iso->volume_id, 32);
|
||||
if(volume_space_size==volume_space_size2 && logical_block_size==logical_block_size2)
|
||||
snprintf(partition->info, sizeof(partition->info), "ISO9660");
|
||||
else
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "iso9660.h"
|
||||
int check_ISO(disk_t *disk_car, partition_t *partition);
|
||||
int recover_ISO(disk_t *disk_car, const struct iso_primary_descriptor *iso, partition_t *partition, const int verbose, const int dump_ind);
|
||||
|
||||
|
|
Loading…
Reference in a new issue