mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
OS/2 breakage - PR_CALLBACK
This commit is contained in:
parent
d5deabe533
commit
d9ff17dfd0
@ -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");
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user