image_t -> struct image

Remove misleading typedef and redundant suffix from struct image.

Also removes the typedef from enum image_type, as it is used in
image.h only.
This commit is contained in:
Zachary T Welch
2009-11-13 09:46:21 -08:00
parent af949b2531
commit dfecfd5fd4
13 changed files with 50 additions and 50 deletions

View File

@@ -29,7 +29,7 @@
#include "target.h"
#include "log.h"
struct image_s;
struct image;
#define FLASH_MAX_ERROR_STR (128)
@@ -286,7 +286,7 @@ int flash_erase_address_range(struct target_s *target,
* @returns ERROR_OK if successful; otherwise, an error code.
*/
int flash_write(struct target_s *target,
struct image_s *image, uint32_t *written, int erase);
struct image *image, uint32_t *written, int erase);
/**
* Forces targets to re-examine their erase/protection state.
* This routine must be called when the system may modify the status.