summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-04-06 01:30:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-04-06 01:30:49 +0000
commit66a69ceed9d35d932892c58b683a21451bf92e5a (patch)
treee1cbaf873f81227d33b9335834878c9f7c701b61
parent3ec09e61d1c823837fbf442c83865673cbbf59c8 (diff)
downloadbcm5719-llvm-66a69ceed9d35d932892c58b683a21451bf92e5a.tar.gz
bcm5719-llvm-66a69ceed9d35d932892c58b683a21451bf92e5a.zip
Make helper function static. NFC.
llvm-svn: 265501
-rw-r--r--lld/ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 9ab3f78bae3..4e6b3683da6 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -30,7 +30,7 @@ using namespace lld::elf;
// Usually there are 2 dummies sections: ELF header and program header.
// Relocatable output does not require program headers to be created.
-unsigned dummySectionsNum() { return Config->Relocatable ? 1 : 2; }
+static unsigned dummySectionsNum() { return Config->Relocatable ? 1 : 2; }
namespace {
// The writer writes a SymbolTable result to a file.
OpenPOWER on IntegriCloud