helper/fileio: Remove nested struct

Change-Id: I1a3afbddcf950689da58e0df8850a05f558d7879
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3222
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Marc Schink
2015-10-04 17:18:40 +02:00
committed by Andreas Fritiofson
parent 7c957b601f
commit 73b676c2fd
14 changed files with 171 additions and 169 deletions

View File

@@ -66,11 +66,11 @@ struct image {
};
struct image_binary {
struct fileio fileio;
struct fileio *fileio;
};
struct image_ihex {
struct fileio fileio;
struct fileio *fileio;
uint8_t *buffer;
};
@@ -81,7 +81,7 @@ struct image_memory {
};
struct image_elf {
struct fileio fileio;
struct fileio *fileio;
Elf32_Ehdr *header;
Elf32_Phdr *segments;
uint32_t segment_count;
@@ -89,7 +89,7 @@ struct image_elf {
};
struct image_mot {
struct fileio fileio;
struct fileio *fileio;
uint8_t *buffer;
};