Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
This commit is contained in:
@@ -598,7 +598,7 @@ CreateNewNSTXTToHTMLConvFactory(nsISupports *aOuter, REFNSIID aIID, void **aResu
|
||||
// Module implementation for the net library
|
||||
|
||||
// Net module startup hook
|
||||
PR_STATIC_CALLBACK(nsresult) nsNetStartup(nsIModule *neckoModule)
|
||||
static nsresult nsNetStartup(nsIModule *neckoModule)
|
||||
{
|
||||
gNetStrings = new nsNetStrings();
|
||||
return gNetStrings ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
|
||||
@@ -606,7 +606,7 @@ PR_STATIC_CALLBACK(nsresult) nsNetStartup(nsIModule *neckoModule)
|
||||
|
||||
|
||||
// Net module shutdown hook
|
||||
static void PR_CALLBACK nsNetShutdown(nsIModule *neckoModule)
|
||||
static void nsNetShutdown(nsIModule *neckoModule)
|
||||
{
|
||||
// Release the url parser that the stdurl is holding.
|
||||
nsStandardURL::ShutdownGlobalObjects();
|
||||
|
||||
Reference in New Issue
Block a user