X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fimage.h;h=608336bb5d57f475c2082d6ef0e5943d8b09cff1;hp=5969ddebaa09242f775cf34e76fc76d91ea10511;hb=ccde06a08fbf9c4f57b321dbec0509f73239c2de;hpb=b154972bdbcbda1ae8e05271c0db556fade8dbef diff --git a/src/target/image.h b/src/target/image.h index 5969ddebaa..608336bb5d 100644 --- a/src/target/image.h +++ b/src/target/image.h @@ -94,11 +94,11 @@ typedef struct fileio_elf_s uint8_t endianness; } image_elf_t; -typedef struct image_mot_s +struct image_mot { struct fileio fileio; uint8_t *buffer; -} image_mot_t; +}; int image_open(image_t *image, const char *url, const char *type_string); int image_read_section(image_t *image, int section, uint32_t offset,