diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-07-17 14:49:30 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-07-17 14:49:30 +0000 |
commit | 03b26699135c9a98168ca57e40ad6b8cf4439081 (patch) | |
tree | da65bbe1fbc5d7d9e8e1c177da39df415c3e7ea1 /w29ee011.c | |
parent | 766f2757d2aa21a0e7034f1d0878116fe3513592 (diff) | |
download | flashrom-03b26699135c9a98168ca57e40ad6b8cf4439081.tar.gz |
Newer llvm/clang versions (since r102686) have a __clang_version__ macro
which can be used to print the exact clang version.
Fix a case where chip_to_probe was referenced twice via extern, once at
the function level and once in a global include file. Found by latest
clang.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1087 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'w29ee011.c')
-rw-r--r-- | w29ee011.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -26,7 +26,6 @@ int probe_w29ee011(struct flashchip *flash) { chipaddr bios = flash->virtual_memory; uint8_t id1, id2; - extern char *chip_to_probe; if (!chip_to_probe || strcmp(chip_to_probe, "W29EE011")) { msg_cdbg("Probing disabled for Winbond W29EE011 because " |