mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2025-05-31 14:11:42 +05:30
Addressed warnings for pld module
This commit is contained in:
@@ -14,23 +14,19 @@ struct PldHeader {
|
||||
#pragma pack(pop)
|
||||
|
||||
typedef struct {
|
||||
bool (* const getheader) (struct PldHeader*, const char*);
|
||||
int (* const sizeofsector)(struct PldHeader*, unsigned int, unsigned int);
|
||||
void (* const printheader) (struct PldHeader*);
|
||||
} fn_devil1pld;
|
||||
extern fn_devil1pld const DEVIL1PLD;
|
||||
|
||||
// input: pointer to a struct, contents of the .pld file.
|
||||
// * = pass by reference of a struct PldHeader
|
||||
static bool getpldh(struct PldHeader*, const char*);
|
||||
bool (* const getheader) (struct PldHeader*, const char*);
|
||||
|
||||
// input: pointer to header, index of offset, filesize
|
||||
// * = pass by reference of a struct PldHeader
|
||||
static int sizeofpldstruct(struct PldHeader*, unsigned int, unsigned int);
|
||||
int (* const sizeofsector)(struct PldHeader*, unsigned int, unsigned int);
|
||||
|
||||
// input: a pld header struct.
|
||||
// * = pass by reference of a struct PldHeader
|
||||
static void printpldh(struct PldHeader*);
|
||||
void (* const printheader) (struct PldHeader*);
|
||||
|
||||
} fn_devil1pld;
|
||||
extern fn_devil1pld const DEVIL1PLD;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user