Nico Huber submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved Peter Marheine: Looks good to me, but someone else must approve Anastasia Klimchuk: Looks good to me, approved
layout: Make `struct layout_include_args` private to `layout.c`

Change-Id: Icbfee68e85429fe41db1cad6b99f25e9f30cd672
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33545
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
M layout.c
M layout.h
2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/layout.c b/layout.c
index e71f6a4..9df0035 100644
--- a/layout.c
+++ b/layout.c
@@ -29,6 +29,12 @@
struct romentry *head;
};

+struct layout_include_args {
+ char *name;
+ char *file;
+ struct layout_include_args *next;
+};
+
static struct flashrom_layout *global_layout;

struct flashrom_layout *get_global_layout(void)
diff --git a/layout.h b/layout.h
index bf183a6..808c516 100644
--- a/layout.h
+++ b/layout.h
@@ -47,11 +47,7 @@

struct flashrom_layout;

-struct layout_include_args {
- char *name;
- char *file;
- struct layout_include_args *next;
-};
+struct layout_include_args;

struct flashrom_flashctx;
struct flashrom_layout *get_global_layout(void);

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Icbfee68e85429fe41db1cad6b99f25e9f30cd672
Gerrit-Change-Number: 33545
Gerrit-PatchSet: 10
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Daniel Campello <campello@chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-MessageType: merged