mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
tree: Make internal functions static
None of these functions are used outside of the files they are defined in, so make them all static. Change-Id: Ie9cbe12d289bcedacf2f1bf483ae64ef8039ccc1 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33667 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
4
dmi.c
4
dmi.c
@ -250,7 +250,7 @@ static int legacy_decode(uint8_t *buf)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dmi_fill(void)
|
||||
static int dmi_fill(void)
|
||||
{
|
||||
size_t fp;
|
||||
uint8_t *dmi_mem;
|
||||
@ -344,7 +344,7 @@ static char *get_dmi_string(const char *string_name)
|
||||
return result;
|
||||
}
|
||||
|
||||
int dmi_fill(void)
|
||||
static int dmi_fill(void)
|
||||
{
|
||||
int i;
|
||||
char *chassis_type;
|
||||
|
Reference in New Issue
Block a user