From 60db9f50dc8f295dfe3844851fef73ec38c28db9 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sat, 28 Apr 2001 04:30:42 +0000 Subject: [PATCH] Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|. --- content/html/style/src/nsCSSStyleSheet.cpp | 2 +- layout/style/nsCSSStyleSheet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/html/style/src/nsCSSStyleSheet.cpp b/content/html/style/src/nsCSSStyleSheet.cpp index 5adac1906e55..a187f51d970e 100644 --- a/content/html/style/src/nsCSSStyleSheet.cpp +++ b/content/html/style/src/nsCSSStyleSheet.cpp @@ -3926,7 +3926,7 @@ PR_STATIC_CALLBACK(PRBool) FillArray(nsHashKey* aKey, void* aData, return PR_TRUE; } -PR_STATIC_CALLBACK(PRBool) AppendRuleToArray(nsISupports* aElement, void* aData) +static PRBool AppendRuleToArray(nsISupports* aElement, void* aData) { nsISupportsArray* ruleArray = NS_STATIC_CAST(nsISupportsArray*, aData); ruleArray->AppendElement(aElement); diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index 5adac1906e55..a187f51d970e 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -3926,7 +3926,7 @@ PR_STATIC_CALLBACK(PRBool) FillArray(nsHashKey* aKey, void* aData, return PR_TRUE; } -PR_STATIC_CALLBACK(PRBool) AppendRuleToArray(nsISupports* aElement, void* aData) +static PRBool AppendRuleToArray(nsISupports* aElement, void* aData) { nsISupportsArray* ruleArray = NS_STATIC_CAST(nsISupportsArray*, aData); ruleArray->AppendElement(aElement);