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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -685,6 +685,7 @@ extern "C" NS_DOM nsresult NSGetFactory(const nsCID &aClass, nsIFactory **aFacto
|
||||
}
|
||||
|
||||
|
||||
void XXXDomNeverCalled();
|
||||
void XXXDomNeverCalled()
|
||||
{
|
||||
nsJSContext* jcx = new nsJSContext(0);
|
||||
|
||||
@@ -424,6 +424,7 @@ public:
|
||||
NS_IMETHOD LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult);
|
||||
};
|
||||
|
||||
nsresult NS_NewFrameUtil(nsIFrameUtil** aResult);
|
||||
nsresult
|
||||
NS_NewFrameUtil(nsIFrameUtil** aResult)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -424,6 +424,7 @@ public:
|
||||
NS_IMETHOD LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult);
|
||||
};
|
||||
|
||||
nsresult NS_NewFrameUtil(nsIFrameUtil** aResult);
|
||||
nsresult
|
||||
NS_NewFrameUtil(nsIFrameUtil** aResult)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -98,6 +98,7 @@ protected:
|
||||
PRBool mMouseDownOnCheckbox;
|
||||
};
|
||||
|
||||
nsresult NS_NewCheckboxControlFrame(nsIFrame*& aResult);
|
||||
nsresult
|
||||
NS_NewCheckboxControlFrame(nsIFrame*& aResult)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user