summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-07-02 08:50:05 +0000
committerRui Ueyama <ruiu@google.com>2016-07-02 08:50:05 +0000
commit03e1cc632234a13bde5cdbca44d3e08e2e83fbb5 (patch)
tree99bbcadf5cce0bbd6a268d5cacd285d30efe0d10
parentc98e4d8167001092fed1cfb2cb6706dea55d3ba6 (diff)
downloadbcm5719-llvm-03e1cc632234a13bde5cdbca44d3e08e2e83fbb5.tar.gz
bcm5719-llvm-03e1cc632234a13bde5cdbca44d3e08e2e83fbb5.zip
Remove duplicate declaration.
llvm-svn: 274429
-rw-r--r--lld/ELF/MarkLive.cpp1
-rw-r--r--lld/ELF/OutputSections.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index ec2d1cbc06c..680ef502b92 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -23,6 +23,7 @@
#include "InputSection.h"
#include "LinkerScript.h"
#include "OutputSections.h"
+#include "Strings.h"
#include "SymbolTable.h"
#include "Symbols.h"
#include "Target.h"
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index 66a906305f4..6e709f357ea 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -40,8 +40,6 @@ template <class ELFT> class SharedFile;
template <class ELFT> class SharedSymbol;
template <class ELFT> class DefinedRegular;
-bool isValidCIdentifier(StringRef S);
-
// This represents a section in an output file.
// Different sub classes represent different types of sections. Some contain
// input sections, others are created by the linker.
OpenPOWER on IntegriCloud