mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Code style.
This commit is contained in:
@@ -42,7 +42,7 @@ void* open(const char* filepath)
|
||||
{
|
||||
aaruformatContext* ctx;
|
||||
int errorNo;
|
||||
size_t readBytes;
|
||||
size_t readBytes;
|
||||
long pos;
|
||||
IndexHeader idxHeader;
|
||||
IndexEntry* idxEntries;
|
||||
|
||||
24
src/read.c
24
src/read.c
@@ -73,12 +73,12 @@ int32_t read_sector(void* context, uint64_t sectorAddress, uint8_t* data, uint32
|
||||
{
|
||||
aaruformatContext* ctx;
|
||||
uint64_t ddtEntry;
|
||||
uint32_t offsetMask;
|
||||
uint64_t offset;
|
||||
uint64_t blockOffset;
|
||||
BlockHeader blockHeader;
|
||||
uint8_t* block;
|
||||
size_t readBytes;
|
||||
uint32_t offsetMask;
|
||||
uint64_t offset;
|
||||
uint64_t blockOffset;
|
||||
BlockHeader blockHeader;
|
||||
uint8_t* block;
|
||||
size_t readBytes;
|
||||
|
||||
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;
|
||||
uint32_t bareLength;
|
||||
uint32_t tagLength;
|
||||
uint8_t* bareData;
|
||||
int32_t res;
|
||||
TrackEntry trk;
|
||||
int i;
|
||||
bool trkFound;
|
||||
uint32_t tagLength;
|
||||
uint8_t* bareData;
|
||||
int32_t res;
|
||||
TrackEntry trk;
|
||||
int i;
|
||||
bool trkFound;
|
||||
|
||||
if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user