Minor re-ordering

This commit is contained in:
_
2018-04-17 19:42:28 -07:00
parent 9bfc125158
commit 40db88d4eb
2 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
#include "devil1pld.h"
#include <stdio.h>
namespace_struct const DEVIL1PLD = {getpldh, sizeofpldstruct, printpldh};
static bool getpldh(struct PldHeader *ph, const char *filedata) {
bool good = false;
if (ph != NULL && filedata != NULL) {
@@ -40,5 +42,3 @@ static void printpldh(struct PldHeader *ph) {
printf("offset %i = %x\n", i, ph -> offsets[i]);
}
}
namespace_struct const DEVIL1PLD = {getpldh, sizeofpldstruct, printpldh};