diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-03-05 15:02:21 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-03-11 19:42:30 +0100 |
commit | fae75172d1976edb4a7f375d221a2042ec286b0c (patch) | |
tree | 0f320836198efdceed611c2031879bf07780a0c1 /util | |
parent | 4e6ad1bcaf63b746236d56dec39ff8ac3348c7be (diff) | |
download | coreboot-fae75172d1976edb4a7f375d221a2042ec286b0c.tar.xz |
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>
Diffstat (limited to 'util')
-rw-r--r-- | util/cbfstool/cbfstool.c | 1 | ||||
-rw-r--r-- | util/cbfstool/common.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c index 792dd91d64..ead2d88f9f 100644 --- a/util/cbfstool/cbfstool.c +++ b/util/cbfstool/cbfstool.c @@ -37,7 +37,6 @@ struct command { int (*function) (void); }; -int verbose = 0; static struct param { char *cbfs_name; char *name; diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c index f594e8453b..2fe0f01daf 100644 --- a/util/cbfstool/common.c +++ b/util/cbfstool/common.c @@ -28,6 +28,7 @@ #include "cbfs.h" /* Utilities */ +int verbose = 0; /* Small, OS/libc independent runtime check for endianess */ int is_big_endian(void) |