X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fimage.h;h=855cb215e7dfffdd1b499cf181d1c18808131942;hb=f976af56a4352d0406b930528beec105df13cacb;hp=c23cdf58aaaaebe8ba1eb432ad0138ed0e8c02c5;hpb=0cba0d4df3fe120f08945703506f8405760325c9;p=fw%2Fopenocd diff --git a/src/target/image.h b/src/target/image.h index c23cdf58a..855cb215e 100644 --- a/src/target/image.h +++ b/src/target/image.h @@ -26,16 +26,11 @@ #ifndef IMAGE_H #define IMAGE_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "fileio.h" #ifdef HAVE_ELF_H #include #endif -#include "replacements.h" -#include "fileio.h" -#include "target.h" #define IMAGE_MAX_ERROR_STRING (256) #define IMAGE_MAX_SECTIONS (128) @@ -85,7 +80,7 @@ typedef struct image_ihex_s typedef struct image_memory_s { - target_t *target; + struct target_s *target; u8 *cache; u32 cache_address; } image_memory_t;