OS/2 breakage - PR_CALLBACK

This commit is contained in:
mkaply%us.ibm.com 2001-08-08 03:23:03 +00:00
parent d5deabe533
commit d9ff17dfd0
3 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@ ContentShutdownObserver::Observe(nsISupports *aSubject,
static PRBool gInitialized = PR_FALSE;
// Perform our one-time intialization for this module
static nsresult
PR_STATIC_CALLBACK(nsresult)
Initialize(nsIModule* aSelf)
{
// XXXwaterson turns out we initialize the module twice, because
@ -180,7 +180,7 @@ Initialize(nsIModule* aSelf)
}
// Shutdown this module, releasing all of the module resources
static void
PR_STATIC_CALLBACK(void)
Shutdown(nsIModule* aSelf)
{
NS_PRECONDITION(gInitialized, "module not initialized");

View File

@ -181,7 +181,7 @@ static nsModuleComponentInfo gComponents[] = {
static PRBool gInitialized = PR_FALSE;
static nsresult
PR_STATIC_CALLBACK(nsresult)
Initialize(nsIModule* aSelf)
{
if (!gInitialized) {
@ -194,7 +194,7 @@ Initialize(nsIModule* aSelf)
return NS_OK;
}
static void
PR_STATIC_CALLBACK(void)
Shutdown(nsIModule* aSelf)
{
if (gInitialized) {

View File

@ -181,7 +181,7 @@ static nsModuleComponentInfo gComponents[] = {
static PRBool gInitialized = PR_FALSE;
static nsresult
PR_STATIC_CALLBACK(nsresult)
Initialize(nsIModule* aSelf)
{
if (!gInitialized) {
@ -194,7 +194,7 @@ Initialize(nsIModule* aSelf)
return NS_OK;
}
static void
PR_STATIC_CALLBACK(void)
Shutdown(nsIModule* aSelf)
{
if (gInitialized) {