diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 03:08:29 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | 9f212b01be20da43ba534ad33b20419779c89335 (patch) | |
tree | 2c7fee0d42eb27047ba365fb603c663399566b94 /src/target/image.c | |
parent | f59ec2043b840a4534fdd61502de59e2571988d5 (diff) |
fileio_t -> struct fileio
Remove useless structure typedef.
Diffstat (limited to 'src/target/image.c')
-rw-r--r-- | src/target/image.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/image.c b/src/target/image.c index cf7e11ab..9a9c9553 100644 --- a/src/target/image.c +++ b/src/target/image.c @@ -47,7 +47,7 @@ static int autodetect_image_type(image_t *image, const char *url) { int retval; - fileio_t fileio; + struct fileio fileio; uint32_t read_bytes; uint8_t buffer[9]; @@ -150,7 +150,7 @@ static int identify_image_type(image_t *image, const char *type_string, const ch static int image_ihex_buffer_complete(image_t *image) { image_ihex_t *ihex = image->type_private; - fileio_t *fileio = &ihex->fileio; + struct fileio *fileio = &ihex->fileio; uint32_t full_address = 0x0; uint32_t cooked_bytes; int i; @@ -502,7 +502,7 @@ static int image_elf_read_section(image_t *image, int section, uint32_t offset, static int image_mot_buffer_complete(image_t *image) { image_mot_t *mot = image->type_private; - fileio_t *fileio = &mot->fileio; + struct fileio *fileio = &mot->fileio; uint32_t full_address = 0x0; uint32_t cooked_bytes; int i; |