add static to LegendHack() to reduce compiler warnings on Macintosh

git-svn-id: svn://10.0.0.236/trunk@22555 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
1999-03-02 15:17:35 +00:00
parent aeb3fcb6d7
commit dc6b22194c
2 changed files with 2 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ nsLegendFrame::Paint(nsIPresContext& aPresContext,
// XXX a hack until the reflow state does this correctly
// XXX when it gets fixed, leave in the printf statements or add an assertion
static
void LegendHack(nsHTMLReflowState& aReflowState, char* aMessage)
{
if (aReflowState.computedWidth == 0) {