summaryrefslogtreecommitdiffstats
path: root/src/file_reg.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-23 19:23:02 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-23 19:23:02 +0100
commit952ccd7f04d4488bd0f7996e71f389bbfd054494 (patch)
tree665ae440c847a42a2a468af21bf12c85cebdfbcd /src/file_reg.c
parent9727615b010a855b5f2c2f230588a931f420f476 (diff)
src/file_reg.c: fix compilation warning
Diffstat (limited to 'src/file_reg.c')
-rw-r--r--src/file_reg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/file_reg.c b/src/file_reg.c
index b16138d..389dfd3 100644
--- a/src/file_reg.c
+++ b/src/file_reg.c
@@ -31,9 +31,7 @@
#include "common.h"
#include "filegen.h"
-
static void register_header_check_reg(file_stat_t *file_stat);
-static int header_check_reg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new);
const file_hint_t file_hint_reg= {
.extension="reg",
@@ -58,7 +56,7 @@ struct creg_file_header
uint32_t uk4;
} __attribute__ ((__packed__));
-typedef struct rgdb_block
+struct rgdb_block
{
uint32_t RGDB_ID; /* RGDB */
uint32_t size;