Declare functions static to fix warnings.

git-svn-id: svn://10.0.0.236/trunk@25952 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com
1999-04-01 23:54:23 +00:00
parent 7d7a9850ff
commit e3942e71d6
4 changed files with 8 additions and 8 deletions

View File

@@ -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);