Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/33666
Change subject: flashrom: Make internal functions static ......................................................................
flashrom: Make internal functions static
These functions are only used in this file, so they can be made static.
Change-Id: I7b63464bb8b5a25fc004350a188dab6ee5c1a204 Signed-off-by: Jacob Garber jgarber1@ualberta.ca --- M flashrom.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/66/33666/1
diff --git a/flashrom.c b/flashrom.c index b47d0a2..ea3d002 100644 --- a/flashrom.c +++ b/flashrom.c @@ -738,7 +738,7 @@ }
/* start is an offset to the base address of the flash chip */ -int check_erased_range(struct flashctx *flash, unsigned int start, +static int check_erased_range(struct flashctx *flash, unsigned int start, unsigned int len) { int ret; @@ -2055,7 +2055,7 @@ } }
-void print_sysinfo(void) +static void print_sysinfo(void) { #if IS_WINDOWS SYSTEM_INFO si; @@ -2235,7 +2235,7 @@ /* FIXME: This function signature needs to be improved once doit() has a better * function signature. */ -int chip_safety_check(const struct flashctx *flash, int force, int read_it, int write_it, int erase_it, +static int chip_safety_check(const struct flashctx *flash, int force, int read_it, int write_it, int erase_it, int verify_it) { const struct flashchip *chip = flash->chip;