Edward O'Callaghan has uploaded this change for review.

View Change

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);


To view, visit change 68304. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ifa260f3b57b6da94eea854c4a6f9c9b2a473d88e
Gerrit-Change-Number: 68304
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange