1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 06:23:18 +02:00

tree: Make internal variables static

All these variables are only used in the files they are defined in, so
they can be made static.

Change-Id: I1e55138adef540e9d3a2237aa5b289cb338c0608
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33747
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Jacob Garber
2019-06-24 16:05:28 -06:00
committed by Nico Huber
parent cd8aeba7f1
commit afc3ad6430
10 changed files with 18 additions and 18 deletions

View File

@ -24,7 +24,7 @@
#include "programmer.h"
#include "layout.h"
struct romentry entries[MAX_ROMLAYOUT];
static struct romentry entries[MAX_ROMLAYOUT];
static struct flashrom_layout global_layout = { entries, 0 };
struct flashrom_layout *get_global_layout(void)