diff --git a/xpcom/base/nscore.h b/xpcom/base/nscore.h index b827c7a7be9f..4ae26ca2005f 100644 --- a/xpcom/base/nscore.h +++ b/xpcom/base/nscore.h @@ -76,7 +76,7 @@ #define NS_IMETHOD_(type) virtual type #define NS_IMETHODIMP_(type) type #define NS_METHOD_(type) type -#define NS_CALLBACK_(_type, _name) _type ( _System * _name) +#define NS_CALLBACK_(_type, _name) _type (* _name) #else