summaryrefslogtreecommitdiff
path: root/src/target/image.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:42:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit24df46d0676630c90f04ee49b96533f5fddca6cd (patch)
tree2f3d52b5b293dadaebba4ac4b7d6d415df170cfc /src/target/image.h
parent99614219ad111c124ea5d5f997bb388cbcf00e32 (diff)
downloadopenocd+libswd-24df46d0676630c90f04ee49b96533f5fddca6cd.tar.gz
openocd+libswd-24df46d0676630c90f04ee49b96533f5fddca6cd.tar.bz2
openocd+libswd-24df46d0676630c90f04ee49b96533f5fddca6cd.tar.xz
openocd+libswd-24df46d0676630c90f04ee49b96533f5fddca6cd.zip
image_section_t -> struct image_section
Remove misleading typedef and redundant suffix from struct image_section.
Diffstat (limited to 'src/target/image.h')
-rw-r--r--src/target/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/image.h b/src/target/image.h
index a1e24c44..746f3d24 100644
--- a/src/target/image.h
+++ b/src/target/image.h
@@ -47,20 +47,20 @@ typedef enum image_type
IMAGE_BUILDER, /* when building a new image */
} image_type_t;
-typedef struct image_section_s
+struct image_section
{
uint32_t base_address;
uint32_t size;
int flags;
void *private; /* private data */
-} image_section_t;
+};
typedef struct image_s
{
image_type_t type; /* image type (plain, ihex, ...) */
void *type_private; /* type private data */
int num_sections; /* number of sections contained in the image */
- image_section_t *sections; /* array of sections */
+ struct image_section *sections; /* array of sections */
int base_address_set; /* whether the image has a base address set (for relocation purposes) */
int base_address; /* base address, if one is set */
int start_address_set; /* whether the image has a start address (entry point) associated */