mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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>
This commit is contained in:
parent
78d9c7d02c
commit
194815a363
6
layout.c
6
layout.c
@ -29,6 +29,12 @@ struct flashrom_layout {
|
|||||||
struct romentry *head;
|
struct romentry *head;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct layout_include_args {
|
||||||
|
char *name;
|
||||||
|
char *file;
|
||||||
|
struct layout_include_args *next;
|
||||||
|
};
|
||||||
|
|
||||||
static struct flashrom_layout *global_layout;
|
static struct flashrom_layout *global_layout;
|
||||||
|
|
||||||
struct flashrom_layout *get_global_layout(void)
|
struct flashrom_layout *get_global_layout(void)
|
||||||
|
6
layout.h
6
layout.h
@ -47,11 +47,7 @@ struct romentry {
|
|||||||
|
|
||||||
struct flashrom_layout;
|
struct flashrom_layout;
|
||||||
|
|
||||||
struct layout_include_args {
|
struct layout_include_args;
|
||||||
char *name;
|
|
||||||
char *file;
|
|
||||||
struct layout_include_args *next;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct flashrom_flashctx;
|
struct flashrom_flashctx;
|
||||||
struct flashrom_layout *get_global_layout(void);
|
struct flashrom_layout *get_global_layout(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user