commit | b51e58e50f23aa5f88d2e4259e82a488060f35ee | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat Jul 17 14:49:30 2010 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat Jul 17 14:49:30 2010 +0000 |
tree | da65bbe1fbc5d7d9e8e1c177da39df415c3e7ea1 | |
parent | abebe6b4c24b0c2278e45962ada9b5b3290bf56c [diff] |
Use __clang_version__ macro 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. Corresponding to flashrom svn r1087. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>