Correct function signature to fix Solaris bustage.

This commit is contained in:
peterv%propagandism.org 2004-12-21 13:25:31 +00:00
parent 40b19c39c4
commit d77a12e38a
7 changed files with 12 additions and 10 deletions

View File

@ -193,7 +193,7 @@ nsLoadSaveContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
NS_IMETHODIMP
nsLoadSaveContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone)
PRInt32 aStandalone)
{
return mExpatSink->HandleXMLDeclaration(aVersion, aEncoding, aStandalone);
}

View File

@ -1234,7 +1234,7 @@ nsXMLContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
NS_IMETHODIMP
nsXMLContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone)
PRInt32 aStandalone)
{
mDocument->SetXMLDeclaration(aVersion, aEncoding, aStandalone);

View File

@ -70,8 +70,9 @@ public:
nsISupports* aCatalogData);
NS_IMETHOD HandleProcessingInstruction(const PRUnichar *aTarget,
const PRUnichar *aData);
NS_IMETHOD HandleXMLDeclaration(const PRUnichar *aData,
PRUint32 aLength);
NS_IMETHOD HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
PRInt32 aStandalone);
NS_IMETHOD ReportError(const PRUnichar* aErrorText,
const PRUnichar* aSourceText);
@ -287,8 +288,9 @@ nsXMLFragmentContentSink::HandleProcessingInstruction(const PRUnichar *aTarget,
}
NS_IMETHODIMP
nsXMLFragmentContentSink::HandleXMLDeclaration(const PRUnichar *aData,
PRUint32 aLength)
nsXMLFragmentContentSink::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
PRInt32 aStandalone)
{
NS_NOTREACHED("fragments shouldn't have XML declarations");
return NS_OK;

View File

@ -989,7 +989,7 @@ XULContentSinkImpl::HandleProcessingInstruction(const PRUnichar *aTarget,
NS_IMETHODIMP
XULContentSinkImpl::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone)
PRInt32 aStandalone)
{
return NS_OK;
}

View File

@ -225,7 +225,7 @@ txStylesheetSink::HandleProcessingInstruction(const PRUnichar *aTarget,
NS_IMETHODIMP
txStylesheetSink::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone)
PRInt32 aStandalone)
{
return NS_OK;
}

View File

@ -441,7 +441,7 @@ nsExpatDriver::HandleProcessingInstruction(const PRUnichar *aTarget,
nsresult
nsExpatDriver::HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone)
PRInt32 aStandalone)
{
return mSink->HandleXMLDeclaration(aVersion, aEncoding, aStandalone);
}

View File

@ -72,7 +72,7 @@ public:
const PRUnichar *aData);
nsresult HandleXMLDeclaration(const PRUnichar *aVersion,
const PRUnichar *aEncoding,
const PRInt32 aStandalone);
PRInt32 aStandalone);
nsresult HandleDefault(const PRUnichar *aData, const PRUint32 aLength);
nsresult HandleStartCdataSection();
nsresult HandleEndCdataSection();