reduce Macintosh compiler warnings by adding prototype

git-svn-id: svn://10.0.0.236/trunk@17240 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
1999-01-06 18:44:59 +00:00
parent 5aed3ae866
commit e1d099f21d
8 changed files with 8 additions and 0 deletions

View File

@@ -1012,6 +1012,7 @@ nsGenericHTMLElement::ToHTML(FILE* out) const
// XXX i18n: this is wrong (?) because we need to know the outgoing
// character set (I think)
void NS_QuoteForHTML(const nsString& aValue, nsString& aResult);
void
NS_QuoteForHTML(const nsString& aValue, nsString& aResult)
{

View File

@@ -685,6 +685,7 @@ extern "C" NS_DOM nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFacto
}
void XXXDomNeverCalled();
void XXXDomNeverCalled()
{
nsJSContext* jcx = new nsJSContext(0);

View File

@@ -424,6 +424,7 @@ public:
NS_IMETHOD LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult);
};
nsresult NS_NewFrameUtil(nsIFrameUtil** aResult);
nsresult
NS_NewFrameUtil(nsIFrameUtil** aResult)
{

View File

@@ -100,6 +100,7 @@ nsFileControlFrame::GetType(PRInt32* aType) const
}
// XXX this should be removed when nsView exposes it
nsIWidget* GetWindowTemp(nsIView *aView);
nsIWidget*
GetWindowTemp(nsIView *aView)
{

View File

@@ -424,6 +424,7 @@ public:
NS_IMETHOD LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult);
};
nsresult NS_NewFrameUtil(nsIFrameUtil** aResult);
nsresult
NS_NewFrameUtil(nsIFrameUtil** aResult)
{

View File

@@ -1012,6 +1012,7 @@ nsGenericHTMLElement::ToHTML(FILE* out) const
// XXX i18n: this is wrong (?) because we need to know the outgoing
// character set (I think)
void NS_QuoteForHTML(const nsString& aValue, nsString& aResult);
void
NS_QuoteForHTML(const nsString& aValue, nsString& aResult)
{

View File

@@ -98,6 +98,7 @@ protected:
PRBool mMouseDownOnCheckbox;
};
nsresult NS_NewCheckboxControlFrame(nsIFrame*& aResult);
nsresult
NS_NewCheckboxControlFrame(nsIFrame*& aResult)
{

View File

@@ -100,6 +100,7 @@ nsFileControlFrame::GetType(PRInt32* aType) const
}
// XXX this should be removed when nsView exposes it
nsIWidget* GetWindowTemp(nsIView *aView);
nsIWidget*
GetWindowTemp(nsIView *aView)
{