From de15c96e7b5021d8cda3448e4b46955d24f8a042 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Tue, 2 Mar 1999 15:13:29 +0000 Subject: [PATCH] add "static" to reduce compiler warnings on Macintosh git-svn-id: svn://10.0.0.236/trunk@22552 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/CNavDTD.cpp | 3 +++ mozilla/parser/htmlparser/src/CNavDTD.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/htmlparser/src/CNavDTD.cpp b/mozilla/htmlparser/src/CNavDTD.cpp index 4175b300915..77cf497ec02 100644 --- a/mozilla/htmlparser/src/CNavDTD.cpp +++ b/mozilla/htmlparser/src/CNavDTD.cpp @@ -1120,6 +1120,7 @@ PRInt32 GetIndexOfChildOrSynonym(nsTagStack& aTagStack,eHTMLTags aChildTag) { * @param aTag -- tag enum of child to be tested * @return PR_TRUE if autoclosure should occur */ +static eHTMLTags FindAutoCloseTargetForEndTag(eHTMLTags aCurrentTag,nsTagStack& aTagStack) { int theTopIndex=aTagStack.mCount; eHTMLTags thePrevTag=aTagStack.Last(); @@ -1703,6 +1704,7 @@ PRBool CNavDTD::CanOmit(eHTMLTags aParent,eHTMLTags aChild) const { * @param * @return */ +static PRBool IsCompatibleTag(eHTMLTags aTag1,eHTMLTags aTag2) { PRBool result=PR_FALSE; @@ -1897,6 +1899,7 @@ eHTMLTags CNavDTD::GetTopNode() const { * @param tag to be found * @return index of topmost tag occurance -- may be -1 (kNotFound). */ +static PRInt32 GetTopmostIndexOfBelowOffset(eHTMLTags aTag,PRInt32 anOffset){ PRInt32 result=-1; return result; diff --git a/mozilla/parser/htmlparser/src/CNavDTD.cpp b/mozilla/parser/htmlparser/src/CNavDTD.cpp index 4175b300915..77cf497ec02 100644 --- a/mozilla/parser/htmlparser/src/CNavDTD.cpp +++ b/mozilla/parser/htmlparser/src/CNavDTD.cpp @@ -1120,6 +1120,7 @@ PRInt32 GetIndexOfChildOrSynonym(nsTagStack& aTagStack,eHTMLTags aChildTag) { * @param aTag -- tag enum of child to be tested * @return PR_TRUE if autoclosure should occur */ +static eHTMLTags FindAutoCloseTargetForEndTag(eHTMLTags aCurrentTag,nsTagStack& aTagStack) { int theTopIndex=aTagStack.mCount; eHTMLTags thePrevTag=aTagStack.Last(); @@ -1703,6 +1704,7 @@ PRBool CNavDTD::CanOmit(eHTMLTags aParent,eHTMLTags aChild) const { * @param * @return */ +static PRBool IsCompatibleTag(eHTMLTags aTag1,eHTMLTags aTag2) { PRBool result=PR_FALSE; @@ -1897,6 +1899,7 @@ eHTMLTags CNavDTD::GetTopNode() const { * @param tag to be found * @return index of topmost tag occurance -- may be -1 (kNotFound). */ +static PRInt32 GetTopmostIndexOfBelowOffset(eHTMLTags aTag,PRInt32 anOffset){ PRInt32 result=-1; return result;