summaryrefslogtreecommitdiff
path: root/util/flashrom/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/layout.c')
-rw-r--r--util/flashrom/layout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/flashrom/layout.c b/util/flashrom/layout.c
index 46fcc431c0..a738fb22d5 100644
--- a/util/flashrom/layout.c
+++ b/util/flashrom/layout.c
@@ -28,8 +28,6 @@ char *mainboard_vendor = NULL;
char *mainboard_part = NULL;
int romimages = 0;
-extern int force;
-
#define MAX_ROMLAYOUT 16
typedef struct {
@@ -43,7 +41,7 @@ romlayout_t rom_entries[MAX_ROMLAYOUT];
static char *def_name = "DEFAULT";
-int show_id(uint8_t *bios, int size)
+int show_id(uint8_t *bios, int size, int force)
{
unsigned int *walk;