projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
image_t -> struct image
[fw/openocd]
/
src
/
flash
/
flash.h
diff --git
a/src/flash/flash.h
b/src/flash/flash.h
index 9cd592321c3b3a946f8e34b06f9c97e81882730b..eeacc756cfa2d1b0452806bf652959467c8cee83 100644
(file)
--- a/
src/flash/flash.h
+++ b/
src/flash/flash.h
@@
-29,7
+29,7
@@
#include "target.h"
#include "log.h"
#include "target.h"
#include "log.h"
-struct image
_s
;
+struct image;
#define FLASH_MAX_ERROR_STR (128)
#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,
* @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.
/**
* Forces targets to re-examine their erase/protection state.
* This routine must be called when the system may modify the status.