Code style.

This commit is contained in:
2020-03-01 19:59:51 +00:00
parent 629401939d
commit df27092622
2 changed files with 13 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ void* open(const char* filepath)
{ {
aaruformatContext* ctx; aaruformatContext* ctx;
int errorNo; int errorNo;
size_t readBytes; size_t readBytes;
long pos; long pos;
IndexHeader idxHeader; IndexHeader idxHeader;
IndexEntry* idxEntries; IndexEntry* idxEntries;

View File

@@ -73,12 +73,12 @@ int32_t read_sector(void* context, uint64_t sectorAddress, uint8_t* data, uint32
{ {
aaruformatContext* ctx; aaruformatContext* ctx;
uint64_t ddtEntry; uint64_t ddtEntry;
uint32_t offsetMask; uint32_t offsetMask;
uint64_t offset; uint64_t offset;
uint64_t blockOffset; uint64_t blockOffset;
BlockHeader blockHeader; BlockHeader blockHeader;
uint8_t* block; uint8_t* block;
size_t readBytes; size_t readBytes;
if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT; if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT;
@@ -175,12 +175,12 @@ int32_t read_sector_long(void* context, uint8_t* data, uint64_t sectorAddress, u
{ {
aaruformatContext* ctx; aaruformatContext* ctx;
uint32_t bareLength; uint32_t bareLength;
uint32_t tagLength; uint32_t tagLength;
uint8_t* bareData; uint8_t* bareData;
int32_t res; int32_t res;
TrackEntry trk; TrackEntry trk;
int i; int i;
bool trkFound; bool trkFound;
if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT; if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT;