diff options
-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. |