Make appendToVarDeclarationList static
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Dec 2007 08:13:00 +0000 (08:13 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Dec 2007 08:13:00 +0000 (08:13 +0000)
RS=Weinig

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/grammar.y

index f36085f..cc2c4bd 100644 (file)
@@ -1,3 +1,11 @@
+2007-12-19  Oliver Hunt  <oliver@apple.com>
+
+        Make appendToVarDeclarationList static
+
+        RS=Weinig.
+
+        * kjs/grammar.y:
+
 2007-12-18  Oliver Hunt  <oliver@apple.com>
 
         Remove dead code due to removal of post-parse declaration discovery.
index becb2a1..a601b16 100644 (file)
@@ -116,7 +116,7 @@ template <typename T> T mergeDeclarationLists(T decls1, T decls2)
     return decls1;
 }
 
-void appendToVarDeclarationList(ParserRefCountedData<DeclarationStacks::VarStack>*& varDecls, VarDeclNode* decl)
+static void appendToVarDeclarationList(ParserRefCountedData<DeclarationStacks::VarStack>*& varDecls, VarDeclNode* decl)
 {
     if (!varDecls)
         varDecls = new ParserRefCountedData<DeclarationStacks::VarStack>;