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:
@@ -1899,7 +1899,7 @@ int gdb_v_packet(struct connection *connection, target_t *target, char *packet,
|
||||
/* create a new image if there isn't already one */
|
||||
if (gdb_connection->vflash_image == NULL)
|
||||
{
|
||||
gdb_connection->vflash_image = malloc(sizeof(image_t));
|
||||
gdb_connection->vflash_image = malloc(sizeof(struct image));
|
||||
image_open(gdb_connection->vflash_image, "", "build");
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "target.h"
|
||||
|
||||
struct image_s;
|
||||
struct image;
|
||||
|
||||
#define GDB_BUFFER_SIZE 16384
|
||||
|
||||
@@ -39,7 +39,7 @@ struct gdb_connection
|
||||
int buf_cnt;
|
||||
int ctrl_c;
|
||||
enum target_state frontend_state;
|
||||
struct image_s *vflash_image;
|
||||
struct image *vflash_image;
|
||||
int closed;
|
||||
int busy;
|
||||
int noack_mode;
|
||||
|
||||
Reference in New Issue
Block a user