diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp
index fe6b0e44551..034fcd3232b 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp
@@ -1742,7 +1742,7 @@ nsHTMLDocument::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject
//----------------------------
-PRBool IsInline(eHTMLTags aTag)
+static PRBool IsInline(eHTMLTags aTag)
{
PRBool result = PR_FALSE;
@@ -1789,7 +1789,7 @@ PRBool IsInline(eHTMLTags aTag)
}
//----------------------------
-PRBool IsBlockLevel(eHTMLTags aTag, PRBool &isPreTag)
+static PRBool IsBlockLevel(eHTMLTags aTag, PRBool &isPreTag)
{
isPreTag = (aTag == eHTMLTag_pre);
@@ -2335,7 +2335,7 @@ void printDOMRefs(nsIDOMNode * aNode, PRInt32 aLevel)
-nsIDOMNode * FindDOMNode(nsIDOMNode * aNode, nsIContent * aContent)
+static nsIDOMNode * FindDOMNode(nsIDOMNode * aNode, nsIContent * aContent)
{
nsIContent* content;
nsresult rv = aNode->QueryInterface(kIContentIID,(void **)&content);
diff --git a/mozilla/layout/html/document/src/nsHTMLDocument.cpp b/mozilla/layout/html/document/src/nsHTMLDocument.cpp
index fe6b0e44551..034fcd3232b 100644
--- a/mozilla/layout/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/layout/html/document/src/nsHTMLDocument.cpp
@@ -1742,7 +1742,7 @@ nsHTMLDocument::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject
//----------------------------
-PRBool IsInline(eHTMLTags aTag)
+static PRBool IsInline(eHTMLTags aTag)
{
PRBool result = PR_FALSE;
@@ -1789,7 +1789,7 @@ PRBool IsInline(eHTMLTags aTag)
}
//----------------------------
-PRBool IsBlockLevel(eHTMLTags aTag, PRBool &isPreTag)
+static PRBool IsBlockLevel(eHTMLTags aTag, PRBool &isPreTag)
{
isPreTag = (aTag == eHTMLTag_pre);
@@ -2335,7 +2335,7 @@ void printDOMRefs(nsIDOMNode * aNode, PRInt32 aLevel)
-nsIDOMNode * FindDOMNode(nsIDOMNode * aNode, nsIContent * aContent)
+static nsIDOMNode * FindDOMNode(nsIDOMNode * aNode, nsIContent * aContent)
{
nsIContent* content;
nsresult rv = aNode->QueryInterface(kIContentIID,(void **)&content);
diff --git a/mozilla/layout/html/table/src/nsTableRowGroupFrame.cpp b/mozilla/layout/html/table/src/nsTableRowGroupFrame.cpp
index 779dba7411e..b1690cec604 100644
--- a/mozilla/layout/html/table/src/nsTableRowGroupFrame.cpp
+++ b/mozilla/layout/html/table/src/nsTableRowGroupFrame.cpp
@@ -506,7 +506,7 @@ NS_METHOD nsTableRowGroupFrame::PullUpAllRowFrames(nsIPresContext& aPresContext)
return NS_OK;
}
-void GetNextRowSibling(nsIFrame** aRowFrame)
+static void GetNextRowSibling(nsIFrame** aRowFrame)
{
nsresult rv = (*aRowFrame)->GetNextSibling(aRowFrame);
while(*aRowFrame && (NS_SUCCEEDED(rv))) {
diff --git a/mozilla/layout/tables/nsTableRowGroupFrame.cpp b/mozilla/layout/tables/nsTableRowGroupFrame.cpp
index 779dba7411e..b1690cec604 100644
--- a/mozilla/layout/tables/nsTableRowGroupFrame.cpp
+++ b/mozilla/layout/tables/nsTableRowGroupFrame.cpp
@@ -506,7 +506,7 @@ NS_METHOD nsTableRowGroupFrame::PullUpAllRowFrames(nsIPresContext& aPresContext)
return NS_OK;
}
-void GetNextRowSibling(nsIFrame** aRowFrame)
+static void GetNextRowSibling(nsIFrame** aRowFrame)
{
nsresult rv = (*aRowFrame)->GetNextSibling(aRowFrame);
while(*aRowFrame && (NS_SUCCEEDED(rv))) {