if (image->type == IMAGE_BINARY)
{
- image_binary_t *image_binary;
+ struct image_binary *image_binary;
- image_binary = image->type_private = malloc(sizeof(image_binary_t));
+ image_binary = image->type_private = malloc(sizeof(struct image_binary));
if ((retval = fileio_open(&image_binary->fileio, url, FILEIO_READ, FILEIO_BINARY)) != ERROR_OK)
{
if (image->type == IMAGE_BINARY)
{
- image_binary_t *image_binary = image->type_private;
+ struct image_binary *image_binary = image->type_private;
/* only one section in a plain binary */
if (section != 0)
{
if (image->type == IMAGE_BINARY)
{
- image_binary_t *image_binary = image->type_private;
+ struct image_binary *image_binary = image->type_private;
fileio_close(&image_binary->fileio);
}
uint32_t start_address; /* start address, if one is set */
} image_t;
-typedef struct image_binary_s
+struct image_binary
{
struct fileio fileio;
-} image_binary_t;
+};
typedef struct image_ihex_s
{