1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-04 15:25:17 +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.

(Backported as it untangles aliased global objects.)

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>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62612
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Jacob Garber
2019-06-24 16:05:28 -06:00
committed by Nico Huber
parent 9d7d8006e2
commit 8c3de01548
10 changed files with 18 additions and 18 deletions

View File

@ -74,9 +74,9 @@
#endif /* LPC_IO */
#ifdef LPC_IO
unsigned int shm_io_base;
static unsigned int shm_io_base;
#endif
unsigned char *ce_high, *ce_low;
static unsigned char *ce_high, *ce_low;
static int it85xx_scratch_rom_reenter = 0;
/* This function will poll the keyboard status register until either