From dc6b22194cff1b05daf567f19722b72994ea4fb1 Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Tue, 2 Mar 1999 15:17:35 +0000 Subject: [PATCH] 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 --- mozilla/layout/forms/nsLegendFrame.cpp | 1 + mozilla/layout/html/forms/src/nsLegendFrame.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/mozilla/layout/forms/nsLegendFrame.cpp b/mozilla/layout/forms/nsLegendFrame.cpp index 0152486fa18..c48409a9927 100644 --- a/mozilla/layout/forms/nsLegendFrame.cpp +++ b/mozilla/layout/forms/nsLegendFrame.cpp @@ -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) { diff --git a/mozilla/layout/html/forms/src/nsLegendFrame.cpp b/mozilla/layout/html/forms/src/nsLegendFrame.cpp index 0152486fa18..c48409a9927 100644 --- a/mozilla/layout/html/forms/src/nsLegendFrame.cpp +++ b/mozilla/layout/html/forms/src/nsLegendFrame.cpp @@ -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) {