[coreboot-gerrit] New patch to review for coreboot: 5cf8c1c cbfstool: move verbose to common.c
Aaron Durbin (adurbin@google.com)
gerrit at coreboot.org
Tue Mar 11 18:11:35 CET 2014
Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5364
-gerrit
commit 5cf8c1c5ba8f992248a614a04d9a34b8bf3e7463
Author: Aaron Durbin <adurbin at chromium.org>
Date: Wed Mar 5 15:02:21 2014 -0600
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 at chromium.org>
---
util/cbfstool/cbfstool.c | 1 -
util/cbfstool/common.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 792dd91..ead2d88 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 f594e84..2fe0f01 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)
More information about the coreboot-gerrit
mailing list