summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2021-05-14 01:11:08 +0200
committerNico Huber <nico.h@gmx.de>2021-06-26 15:59:44 +0000
commit7dd1624a7dcbe8e7600de78d1d0c09274bbd30ae (patch)
tree0410ab9b5560c4b356cc9c99295b69063737a8ec /layout.c
parentd855351ce708531b8bc060611a30d37294a941ac (diff)
downloadflashrom-7dd1624a7dcbe8e7600de78d1d0c09274bbd30ae.tar.gz
flashrom-7dd1624a7dcbe8e7600de78d1d0c09274bbd30ae.tar.bz2
flashrom-7dd1624a7dcbe8e7600de78d1d0c09274bbd30ae.zip
layout: Tidy up the include-args API
Move all forward declarations into `layout.h`, use consistent naming. Change-Id: I0e87c9d91b9bc4d78f9cee98caff6985803f7be7 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54287 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index a043d2167..e688f794a 100644
--- a/layout.c
+++ b/layout.c
@@ -274,7 +274,7 @@ int included_regions_overlap(const struct flashrom_layout *const l)
return overlap_detected;
}
-void layout_cleanup(struct layout_include_args **args)
+void cleanup_include_args(struct layout_include_args **args)
{
struct layout_include_args *tmp;