[lld] r239244 - COFF: Make local variables local.
Rui Ueyama
ruiu at google.com
Sat Jun 6 20:55:28 PDT 2015
Author: ruiu
Date: Sat Jun 6 22:55:28 2015
New Revision: 239244
URL: http://llvm.org/viewvc/llvm-project?rev=239244&view=rev
Log:
COFF: Make local variables local.
Modified:
lld/trunk/COFF/DLL.cpp
Modified: lld/trunk/COFF/DLL.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/DLL.cpp?rev=239244&r1=239243&r2=239244&view=diff
==============================================================================
--- lld/trunk/COFF/DLL.cpp (original)
+++ lld/trunk/COFF/DLL.cpp Sat Jun 6 22:55:28 2015
@@ -30,8 +30,8 @@ using namespace llvm::support::endian;
using namespace llvm::COFF;
using llvm::RoundUpToAlignment;
-const size_t LookupChunkSize = sizeof(uint64_t);
-const size_t DirectoryChunkSize = sizeof(ImportDirectoryTableEntry);
+static const size_t LookupChunkSize = sizeof(uint64_t);
+static const size_t DirectoryChunkSize = sizeof(ImportDirectoryTableEntry);
namespace lld {
namespace coff {
More information about the llvm-commits
mailing list