mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
General refactor and cleanup.
This commit is contained in:
12
tool/read.c
12
tool/read.c
@@ -24,12 +24,12 @@
|
||||
|
||||
#include "aaruformattool.h"
|
||||
|
||||
int read(unsigned long long sector_no, char* path)
|
||||
int read(unsigned long long sector_no, char *path)
|
||||
{
|
||||
aaruformatContext* ctx;
|
||||
aaruformatContext *ctx;
|
||||
int32_t res;
|
||||
uint32_t length;
|
||||
uint8_t* data;
|
||||
uint8_t *data;
|
||||
|
||||
ctx = aaruf_open(path);
|
||||
|
||||
@@ -74,12 +74,12 @@ int read(unsigned long long sector_no, char* path)
|
||||
aaruf_close(ctx);
|
||||
}
|
||||
|
||||
int read_long(unsigned long long sector_no, char* path)
|
||||
int read_long(unsigned long long sector_no, char *path)
|
||||
{
|
||||
aaruformatContext* ctx;
|
||||
aaruformatContext *ctx;
|
||||
int32_t res;
|
||||
uint32_t length;
|
||||
uint8_t* data;
|
||||
uint8_t *data;
|
||||
|
||||
ctx = aaruf_open(path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user