diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-04-06 01:30:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-04-06 01:30:49 +0000 |
commit | 66a69ceed9d35d932892c58b683a21451bf92e5a (patch) | |
tree | e1cbaf873f81227d33b9335834878c9f7c701b61 | |
parent | 3ec09e61d1c823837fbf442c83865673cbbf59c8 (diff) | |
download | bcm5719-llvm-66a69ceed9d35d932892c58b683a21451bf92e5a.tar.gz bcm5719-llvm-66a69ceed9d35d932892c58b683a21451bf92e5a.zip |
Make helper function static. NFC.
llvm-svn: 265501
-rw-r--r-- | lld/ELF/Writer.cpp | 2 |
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. |