This function can be static


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4234 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp
index ecfed8d..3a55c54 100644
--- a/lib/Analysis/DataStructure/DataStructure.cpp
+++ b/lib/Analysis/DataStructure/DataStructure.cpp
@@ -394,8 +394,8 @@
 void DSGraph::dump() const { print(std::cerr); }
 
 
-DSNodeHandle copyHelper(const DSNodeHandle* fromNode,
-                        std::map<const DSNode*, DSNode*> *NodeMap) {
+static DSNodeHandle copyHelper(const DSNodeHandle* fromNode,
+                               std::map<const DSNode*, DSNode*> *NodeMap) {
   return DSNodeHandle((*NodeMap)[fromNode->getNode()], fromNode->getOffset());
 }