cbfstool: move verbose to common.c

In order for multiple tools to use the common code found
in common.c place the verbose variable within common.c's
compilation unit.

Change-Id: I71660a5fd4d186ddee81b0da8b57ce2abddf178a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5364
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Aaron Durbin 2014-03-05 15:02:21 -06:00 committed by Aaron Durbin
parent 4e6ad1bcaf
commit fae75172d1
2 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,6 @@ struct command {
int (*function) (void); int (*function) (void);
}; };
int verbose = 0;
static struct param { static struct param {
char *cbfs_name; char *cbfs_name;
char *name; char *name;

View File

@ -28,6 +28,7 @@
#include "cbfs.h" #include "cbfs.h"
/* Utilities */ /* Utilities */
int verbose = 0;
/* Small, OS/libc independent runtime check for endianess */ /* Small, OS/libc independent runtime check for endianess */
int is_big_endian(void) int is_big_endian(void)