Use "static" instead of anonymous namespace.

llvm-svn: 197007
This commit is contained in:
Rui Ueyama 2013-12-11 04:30:15 +00:00
parent 65827a9f77
commit a63760592b
1 changed files with 5 additions and 5 deletions

View File

@ -51,16 +51,16 @@ using llvm::support::ulittle32_t;
namespace lld {
namespace pecoff {
namespace {
class SectionChunk;
// Page size of x86 processor. Some data needs to be aligned at page boundary
// when loaded into memory.
const int PAGE_SIZE = 4096;
static const int PAGE_SIZE = 4096;
// Disk sector size. Some data needs to be aligned at disk sector boundary in
// file.
const int SECTOR_SIZE = 512;
static const int SECTOR_SIZE = 512;
namespace {
class SectionChunk;
/// A Chunk is an abstrace contiguous range in an output file.
class Chunk {