diff --git a/mailnews/ui/messenger/src/nsJSMsgAppCore.cpp b/mailnews/ui/messenger/src/nsJSMsgAppCore.cpp index ce1edbb6203..abc8607611f 100644 --- a/mailnews/ui/messenger/src/nsJSMsgAppCore.cpp +++ b/mailnews/ui/messenger/src/nsJSMsgAppCore.cpp @@ -324,8 +324,7 @@ MsgAppCore(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) // // MsgAppCore class initialization // -extern "C" NS_DOM nsresult -NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto) +nsresult NS_InitMsgAppCoreClass(nsIScriptContext *aContext, void **aPrototype, JSObject * aParentProto) { JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); JSObject *proto = nsnull;