diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -135,12 +135,6 @@ static OutputSection *finiArray; }; -} // namespace elf -} // namespace lld - -namespace lld { -namespace elf { - uint64_t getHeaderSize(); extern std::vector outputSections;