David Hendricks has uploaded this change for review.
Constify arguments in flashrom_image_* prototypes
The source and header seem to have fallen out of sync.
Change-Id: I5840b95f9f9254e20d99bd01d0b1009c4b2252c4
Signed-off-by: David Hendricks <dhendricks@fb.com>
---
M libflashrom.h
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/12/20812/1
diff --git a/libflashrom.h b/libflashrom.h
index d3f3ded..066fcd8 100644
--- a/libflashrom.h
+++ b/libflashrom.h
@@ -59,9 +59,9 @@
void flashrom_flag_set(struct flashrom_flashctx *, enum flashrom_flag, bool value);
bool flashrom_flag_get(const struct flashrom_flashctx *, enum flashrom_flag);
-int flashrom_image_read(struct flashrom_flashctx *, void *buffer, size_t buffer_len);
-int flashrom_image_write(struct flashrom_flashctx *, void *buffer, size_t buffer_len);
-int flashrom_image_verify(struct flashrom_flashctx *, const void *buffer, size_t buffer_len);
+int flashrom_image_read(struct flashrom_flashctx *const, void *const buffer, const size_t buffer_len);
+int flashrom_image_write(struct flashrom_flashctx *const, void *const buffer, const size_t buffer_len);
+int flashrom_image_verify(struct flashrom_flashctx *const, const void *const buffer, const size_t buffer_len);
struct flashrom_layout;
int flashrom_layout_read_from_ifd(struct flashrom_layout **, struct flashrom_flashctx *, const void *dump, size_t len);
To view, visit change 20812. To unsubscribe, visit settings.