audit: fix compile error on some systems
[openwrt/openwrt.git] / package / system / mtd / src / fis.h
1 #ifndef __FIS_H
2 #define __FIS_H
3
4 struct fis_part {
5 unsigned char name[16];
6 uint32_t offset;
7 uint32_t loadaddr;
8 uint32_t size;
9 uint32_t length;
10 uint32_t crc;
11 };
12
13 int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
14 int fis_remap(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
15
16 #endif