General refactor and cleanup.

This commit is contained in:
2024-04-30 15:51:32 +01:00
parent 80d5a532de
commit 1f813feec9
56 changed files with 2858 additions and 3104 deletions

View File

@@ -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);