Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/68304 )
Change subject: include/layout.h: Fix get_layout() prototype to match func ......................................................................
include/layout.h: Fix get_layout() prototype to match func
Function signature did not match the function prototype in the header, realign.
Change-Id: Ifa260f3b57b6da94eea854c4a6f9c9b2a473d88e Signed-off-by: Edward O'Callaghan quasisec@google.com --- M include/layout.h 1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/04/68304/1
diff --git a/include/layout.h b/include/layout.h index abbdc22..9042b1a 100644 --- a/include/layout.h +++ b/include/layout.h @@ -51,7 +51,7 @@
struct flashrom_flashctx; const struct flashrom_layout *get_default_layout(const struct flashrom_flashctx *); -const struct flashrom_layout *get_layout(const struct flashrom_flashctx *); +const struct flashrom_layout *get_layout(const struct flashrom_flashctx *const);
int layout_from_file(struct flashrom_layout **, const char *name);