Nico Huber submitted this change.
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.