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:
committed by
Andreas Fritiofson
parent
7c957b601f
commit
73b676c2fd
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user