diff --git a/rdf/base/src/nsCompositeDataSource.cpp b/rdf/base/src/nsCompositeDataSource.cpp index 7fec579ec491..c5a6741650e0 100644 --- a/rdf/base/src/nsCompositeDataSource.cpp +++ b/rdf/base/src/nsCompositeDataSource.cpp @@ -210,7 +210,7 @@ CompositeEnumeratorImpl::~CompositeEnumeratorImpl(void) NS_IMPL_ADDREF(CompositeEnumeratorImpl) NS_IMPL_RELEASE_WITH_DESTROY(CompositeEnumeratorImpl, Destroy()) -NS_IMPL_QUERY_INTERFACE1(CompositeEnumeratorImpl, nsISimpleEnumerator); +NS_IMPL_QUERY_INTERFACE1(CompositeEnumeratorImpl, nsISimpleEnumerator) NS_IMETHODIMP CompositeEnumeratorImpl::HasMoreElements(PRBool* aResult) @@ -646,7 +646,7 @@ CompositeDataSourceImpl::CompositeDataSourceImpl(void) // nsISupports interface // -NS_IMPL_THREADSAFE_ADDREF(CompositeDataSourceImpl); +NS_IMPL_THREADSAFE_ADDREF(CompositeDataSourceImpl) NS_IMETHODIMP_(nsrefcnt) CompositeDataSourceImpl::Release() diff --git a/rdf/base/src/nsRDFContentSink.cpp b/rdf/base/src/nsRDFContentSink.cpp index a65b8531e50f..9d6d2086bf34 100644 --- a/rdf/base/src/nsRDFContentSink.cpp +++ b/rdf/base/src/nsRDFContentSink.cpp @@ -465,8 +465,8 @@ RDFContentSinkImpl::~RDFContentSinkImpl() //////////////////////////////////////////////////////////////////////// // nsISupports interface -NS_IMPL_ADDREF(RDFContentSinkImpl); -NS_IMPL_RELEASE(RDFContentSinkImpl); +NS_IMPL_ADDREF(RDFContentSinkImpl) +NS_IMPL_RELEASE(RDFContentSinkImpl) NS_IMETHODIMP RDFContentSinkImpl::QueryInterface(REFNSIID iid, void** result) diff --git a/rdf/base/src/nsRDFService.cpp b/rdf/base/src/nsRDFService.cpp index f5f6316b39d6..bbf63b481068 100644 --- a/rdf/base/src/nsRDFService.cpp +++ b/rdf/base/src/nsRDFService.cpp @@ -580,8 +580,8 @@ LiteralImpl::~LiteralImpl() NS_RELEASE2(gRDFService, refcnt); } -NS_IMPL_THREADSAFE_ADDREF(LiteralImpl); -NS_IMPL_THREADSAFE_RELEASE(LiteralImpl); +NS_IMPL_THREADSAFE_ADDREF(LiteralImpl) +NS_IMPL_THREADSAFE_RELEASE(LiteralImpl) nsresult LiteralImpl::QueryInterface(REFNSIID iid, void** result) @@ -682,8 +682,8 @@ DateImpl::~DateImpl() NS_RELEASE2(gRDFService, refcnt); } -NS_IMPL_ADDREF(DateImpl); -NS_IMPL_RELEASE(DateImpl); +NS_IMPL_ADDREF(DateImpl) +NS_IMPL_RELEASE(DateImpl) nsresult DateImpl::QueryInterface(REFNSIID iid, void** result) @@ -788,8 +788,8 @@ IntImpl::~IntImpl() NS_RELEASE2(gRDFService, refcnt); } -NS_IMPL_ADDREF(IntImpl); -NS_IMPL_RELEASE(IntImpl); +NS_IMPL_ADDREF(IntImpl) +NS_IMPL_RELEASE(IntImpl) nsresult IntImpl::QueryInterface(REFNSIID iid, void** result) diff --git a/rdf/base/src/nsRDFXMLDataSource.cpp b/rdf/base/src/nsRDFXMLDataSource.cpp index 6dd5bd6ce768..ae67c1832536 100644 --- a/rdf/base/src/nsRDFXMLDataSource.cpp +++ b/rdf/base/src/nsRDFXMLDataSource.cpp @@ -204,7 +204,7 @@ public: } }; -NS_IMPL_ISUPPORTS1(ProxyStream, nsIInputStream); +NS_IMPL_ISUPPORTS1(ProxyStream, nsIInputStream) //---------------------------------------------------------------------- // @@ -537,7 +537,7 @@ NS_IMPL_ISUPPORTS6(RDFXMLDataSourceImpl, nsIRDFXMLSink, nsIRDFXMLSource, nsIRequestObserver, - nsIStreamListener); + nsIStreamListener) nsresult diff --git a/rdf/build/nsRDFModule.cpp b/rdf/build/nsRDFModule.cpp index 800003e4558a..f581524a689e 100644 --- a/rdf/build/nsRDFModule.cpp +++ b/rdf/build/nsRDFModule.cpp @@ -180,4 +180,4 @@ static const nsModuleComponentInfo components[] = NS_LOCALSTORE_CONTRACTID, NS_NewLocalStore }, }; -NS_IMPL_NSGETMODULE(nsRDFModule, components); +NS_IMPL_NSGETMODULE(nsRDFModule, components) diff --git a/rdf/chrome/build/nsChromeFactory.cpp b/rdf/chrome/build/nsChromeFactory.cpp index bb011283e4e5..084956d9028d 100644 --- a/rdf/chrome/build/nsChromeFactory.cpp +++ b/rdf/chrome/build/nsChromeFactory.cpp @@ -65,5 +65,5 @@ static const nsModuleComponentInfo components[] = } }; -NS_IMPL_NSGETMODULE(nsChromeModule, components); +NS_IMPL_NSGETMODULE(nsChromeModule, components) diff --git a/rdf/chrome/src/nsChromeProtocolHandler.cpp b/rdf/chrome/src/nsChromeProtocolHandler.cpp index b562377260e0..b70796333b66 100644 --- a/rdf/chrome/src/nsChromeProtocolHandler.cpp +++ b/rdf/chrome/src/nsChromeProtocolHandler.cpp @@ -165,7 +165,7 @@ PRLogModuleInfo* nsCachedChromeChannel::gLog; NS_IMPL_ISUPPORTS2(nsCachedChromeChannel, nsIChannel, - nsIRequest); + nsIRequest) nsresult nsCachedChromeChannel::Create(nsIURI* aURI, nsIChannel** aResult) @@ -512,7 +512,7 @@ nsChromeProtocolHandler::~nsChromeProtocolHandler() { } -NS_IMPL_THREADSAFE_ISUPPORTS2(nsChromeProtocolHandler, nsIProtocolHandler, nsISupportsWeakReference); +NS_IMPL_THREADSAFE_ISUPPORTS2(nsChromeProtocolHandler, nsIProtocolHandler, nsISupportsWeakReference) NS_METHOD nsChromeProtocolHandler::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) diff --git a/rdf/chrome/src/nsChromeRegistry.cpp b/rdf/chrome/src/nsChromeRegistry.cpp index ac19d75a7c2c..3847db8ca8d5 100644 --- a/rdf/chrome/src/nsChromeRegistry.cpp +++ b/rdf/chrome/src/nsChromeRegistry.cpp @@ -309,7 +309,7 @@ nsChromeRegistry::~nsChromeRegistry() } -NS_IMPL_THREADSAFE_ISUPPORTS4(nsChromeRegistry, nsIChromeRegistry, nsIXULChromeRegistry, nsIObserver, nsISupportsWeakReference); +NS_IMPL_THREADSAFE_ISUPPORTS4(nsChromeRegistry, nsIChromeRegistry, nsIXULChromeRegistry, nsIObserver, nsISupportsWeakReference) //////////////////////////////////////////////////////////////////////////////// // nsIChromeRegistry methods: diff --git a/rdf/datasource/src/nsLocalStore.cpp b/rdf/datasource/src/nsLocalStore.cpp index 19b6856a72e9..257563a8c2a6 100644 --- a/rdf/datasource/src/nsLocalStore.cpp +++ b/rdf/datasource/src/nsLocalStore.cpp @@ -281,8 +281,8 @@ NS_NewLocalStore(nsISupports* aOuter, REFNSIID aIID, void** aResult) // nsISupports interface -NS_IMPL_ADDREF(LocalStoreImpl); -NS_IMPL_RELEASE(LocalStoreImpl); +NS_IMPL_ADDREF(LocalStoreImpl) +NS_IMPL_RELEASE(LocalStoreImpl) NS_IMETHODIMP LocalStoreImpl::QueryInterface(REFNSIID aIID, void** aResult) diff --git a/security/manager/boot/src/nsSecureBrowserUIImpl.cpp b/security/manager/boot/src/nsSecureBrowserUIImpl.cpp index 0f07221e45e9..48cee8336c57 100644 --- a/security/manager/boot/src/nsSecureBrowserUIImpl.cpp +++ b/security/manager/boot/src/nsSecureBrowserUIImpl.cpp @@ -163,7 +163,7 @@ NS_IMPL_ISUPPORTS6(nsSecureBrowserUIImpl, nsIFormSubmitObserver, nsIObserver, nsISupportsWeakReference, - nsISSLStatusProvider); + nsISSLStatusProvider) NS_IMETHODIMP diff --git a/security/manager/boot/src/nsSecurityWarningDialogs.cpp b/security/manager/boot/src/nsSecurityWarningDialogs.cpp index 6f103b47753c..1855b68f12fc 100644 --- a/security/manager/boot/src/nsSecurityWarningDialogs.cpp +++ b/security/manager/boot/src/nsSecurityWarningDialogs.cpp @@ -31,7 +31,7 @@ #include "nsIInterfaceRequestor.h" #include "nsIInterfaceRequestorUtils.h" -NS_IMPL_THREADSAFE_ISUPPORTS1(nsSecurityWarningDialogs, nsISecurityWarningDialogs); +NS_IMPL_THREADSAFE_ISUPPORTS1(nsSecurityWarningDialogs, nsISecurityWarningDialogs) static NS_DEFINE_CID(kPrefCID, NS_PREF_CID); static NS_DEFINE_CID(kCStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID); diff --git a/security/manager/pki/src/nsASN1Tree.cpp b/security/manager/pki/src/nsASN1Tree.cpp index 56bcda7b5c6f..2e08b8b36a7c 100644 --- a/security/manager/pki/src/nsASN1Tree.cpp +++ b/security/manager/pki/src/nsASN1Tree.cpp @@ -38,7 +38,7 @@ #include "nsArray.h" NS_IMPL_THREADSAFE_ISUPPORTS2(nsNSSASN1Tree, nsIASN1Tree, - nsITreeView); + nsITreeView) nsNSSASN1Tree::nsNSSASN1Tree() :mTopNode(nsnull) diff --git a/security/manager/pki/src/nsNSSDialogs.cpp b/security/manager/pki/src/nsNSSDialogs.cpp index 53173463feb4..c47ed526fe84 100644 --- a/security/manager/pki/src/nsNSSDialogs.cpp +++ b/security/manager/pki/src/nsNSSDialogs.cpp @@ -73,7 +73,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS8(nsNSSDialogs, nsITokenPasswordDialogs, nsICertPickDialogs, nsITokenDialogs, nsIDOMCryptoDialogs, - nsIGeneratingKeypairInfoDialogs); + nsIGeneratingKeypairInfoDialogs) nsresult nsNSSDialogs::Init() diff --git a/security/manager/ssl/src/nsKeygenHandler.cpp b/security/manager/ssl/src/nsKeygenHandler.cpp index 552c24c5ea1f..069cab9b8cf5 100644 --- a/security/manager/ssl/src/nsKeygenHandler.cpp +++ b/security/manager/ssl/src/nsKeygenHandler.cpp @@ -160,7 +160,7 @@ done: return primeBits; } -NS_IMPL_THREADSAFE_ISUPPORTS1(nsKeygenFormProcessor, nsIFormProcessor); +NS_IMPL_THREADSAFE_ISUPPORTS1(nsKeygenFormProcessor, nsIFormProcessor) MOZ_DECL_CTOR_COUNTER(nsKeygenFormProcessor) nsKeygenFormProcessor::nsKeygenFormProcessor() diff --git a/security/manager/ssl/src/nsNSSASN1Object.cpp b/security/manager/ssl/src/nsNSSASN1Object.cpp index 910ffaa71fc4..e4a027afd914 100644 --- a/security/manager/ssl/src/nsNSSASN1Object.cpp +++ b/security/manager/ssl/src/nsNSSASN1Object.cpp @@ -39,9 +39,9 @@ #include "nsXPCOMCID.h" NS_IMPL_THREADSAFE_ISUPPORTS2(nsNSSASN1Sequence, nsIASN1Sequence, - nsIASN1Object); + nsIASN1Object) NS_IMPL_THREADSAFE_ISUPPORTS2(nsNSSASN1PrintableItem, nsIASN1PrintableItem, - nsIASN1Object); + nsIASN1Object) // This function is used to interpret an integer that // was encoded in a DER buffer. This function is used diff --git a/security/manager/ssl/src/nsNSSCallbacks.cpp b/security/manager/ssl/src/nsNSSCallbacks.cpp index 3a42fd49a9b5..da962088f2e6 100644 --- a/security/manager/ssl/src/nsNSSCallbacks.cpp +++ b/security/manager/ssl/src/nsNSSCallbacks.cpp @@ -109,7 +109,7 @@ nsSSLStatus::nsSSLStatus() { } -NS_IMPL_THREADSAFE_ISUPPORTS1(nsSSLStatus, nsISSLStatus); +NS_IMPL_THREADSAFE_ISUPPORTS1(nsSSLStatus, nsISSLStatus) nsSSLStatus::~nsSSLStatus() { diff --git a/security/manager/ssl/src/nsNSSComponent.cpp b/security/manager/ssl/src/nsNSSComponent.cpp index 79d45d1a752b..4dee043116e6 100644 --- a/security/manager/ssl/src/nsNSSComponent.cpp +++ b/security/manager/ssl/src/nsNSSComponent.cpp @@ -1320,7 +1320,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS5(nsNSSComponent, nsIEntropyCollector, nsINSSComponent, nsIObserver, - nsISupportsWeakReference); + nsISupportsWeakReference) //--------------------------------------------- // Functions Implementing nsISignatureVerifier @@ -2188,7 +2188,7 @@ getPSMContentType(const char * aContentType) NS_IMPL_ISUPPORTS2(PSMContentListener, nsIURIContentListener, - nsISupportsWeakReference); + nsISupportsWeakReference) PSMContentListener::PSMContentListener() { diff --git a/security/manager/ssl/src/nsNSSModule.cpp b/security/manager/ssl/src/nsNSSModule.cpp index 8e5b03f40f37..b763facbc530 100644 --- a/security/manager/ssl/src/nsNSSModule.cpp +++ b/security/manager/ssl/src/nsNSSModule.cpp @@ -382,4 +382,4 @@ static const nsModuleComponentInfo components[] = } }; -NS_IMPL_NSGETMODULE(NSS, components); +NS_IMPL_NSGETMODULE(NSS, components) diff --git a/security/manager/ssl/src/nsSSLSocketProvider.cpp b/security/manager/ssl/src/nsSSLSocketProvider.cpp index 13f498fbe449..9cc59cce1276 100644 --- a/security/manager/ssl/src/nsSSLSocketProvider.cpp +++ b/security/manager/ssl/src/nsSSLSocketProvider.cpp @@ -33,7 +33,7 @@ nsSSLSocketProvider::~nsSSLSocketProvider() } NS_IMPL_THREADSAFE_ISUPPORTS2(nsSSLSocketProvider, nsISocketProvider, - nsISSLSocketProvider); + nsISSLSocketProvider) NS_IMETHODIMP nsSSLSocketProvider::NewSocket(const char *host, diff --git a/security/manager/ssl/src/nsTLSSocketProvider.cpp b/security/manager/ssl/src/nsTLSSocketProvider.cpp index 27f79861f301..0042e2c941fe 100644 --- a/security/manager/ssl/src/nsTLSSocketProvider.cpp +++ b/security/manager/ssl/src/nsTLSSocketProvider.cpp @@ -33,7 +33,7 @@ nsTLSSocketProvider::~nsTLSSocketProvider() } NS_IMPL_THREADSAFE_ISUPPORTS2(nsTLSSocketProvider, nsISocketProvider, - nsISSLSocketProvider); + nsISSLSocketProvider) NS_IMETHODIMP nsTLSSocketProvider::NewSocket(const char *host, diff --git a/toolkit/components/build/nsModule.cpp b/toolkit/components/build/nsModule.cpp index 70d193638fd7..008ade486808 100644 --- a/toolkit/components/build/nsModule.cpp +++ b/toolkit/components/build/nsModule.cpp @@ -50,7 +50,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAutoCompleteController) NS_GENERIC_FACTORY_CONSTRUCTOR(nsAutoCompleteMdbResult) -NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsFormHistory, nsFormHistory::GetInstance); +NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsFormHistory, nsFormHistory::GetInstance) NS_GENERIC_FACTORY_CONSTRUCTOR(nsFormFillController) NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGlobalHistory, Init) NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsPasswordManager, nsPasswordManager::GetInstance) diff --git a/toolkit/components/history/src/nsGlobalHistory.cpp b/toolkit/components/history/src/nsGlobalHistory.cpp index 8722c463790b..844f4490a8d6 100644 --- a/toolkit/components/history/src/nsGlobalHistory.cpp +++ b/toolkit/components/history/src/nsGlobalHistory.cpp @@ -447,7 +447,7 @@ nsMdbTableEnumerator::~nsMdbTableEnumerator() } -NS_IMPL_ISUPPORTS1(nsMdbTableEnumerator, nsISimpleEnumerator); +NS_IMPL_ISUPPORTS1(nsMdbTableEnumerator, nsISimpleEnumerator) NS_IMETHODIMP nsMdbTableEnumerator::HasMoreElements(PRBool* _result) diff --git a/toolkit/components/satchel/src/nsFormFillController.cpp b/toolkit/components/satchel/src/nsFormFillController.cpp index 9c8110366cdc..2f7b5db1bf32 100644 --- a/toolkit/components/satchel/src/nsFormFillController.cpp +++ b/toolkit/components/satchel/src/nsFormFillController.cpp @@ -77,8 +77,8 @@ NS_INTERFACE_MAP_BEGIN(nsFormFillController) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMFocusListener) NS_INTERFACE_MAP_END -NS_IMPL_ADDREF(nsFormFillController); -NS_IMPL_RELEASE(nsFormFillController); +NS_IMPL_ADDREF(nsFormFillController) +NS_IMPL_RELEASE(nsFormFillController) nsFormFillController::nsFormFillController() : mTimeout(50), diff --git a/toolkit/components/satchel/src/nsFormHistory.cpp b/toolkit/components/satchel/src/nsFormHistory.cpp index 1fd95855c07c..29efcee08478 100644 --- a/toolkit/components/satchel/src/nsFormHistory.cpp +++ b/toolkit/components/satchel/src/nsFormHistory.cpp @@ -66,8 +66,8 @@ NS_INTERFACE_MAP_BEGIN(nsFormHistory) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIObserver) NS_INTERFACE_MAP_END_THREADSAFE -NS_IMPL_THREADSAFE_ADDREF(nsFormHistory); -NS_IMPL_THREADSAFE_RELEASE(nsFormHistory); +NS_IMPL_THREADSAFE_ADDREF(nsFormHistory) +NS_IMPL_THREADSAFE_RELEASE(nsFormHistory) mdb_column nsFormHistory::kToken_ValueColumn = 0; mdb_column nsFormHistory::kToken_NameColumn = 0; diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp index 587915b0d8af..7a3849cfb181 100644 --- a/toolkit/xre/nsXREDirProvider.cpp +++ b/toolkit/xre/nsXREDirProvider.cpp @@ -76,7 +76,7 @@ nsXREDirProvider::~nsXREDirProvider() { } -NS_IMPL_ISUPPORTS1(nsXREDirProvider, nsIDirectoryServiceProvider); +NS_IMPL_ISUPPORTS1(nsXREDirProvider, nsIDirectoryServiceProvider) NS_IMETHODIMP nsXREDirProvider::GetFile(const char* aProperty, PRBool* aPersistent, diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp index 3c6575bbf7d2..c114f43b247d 100644 --- a/uriloader/base/nsURILoader.cpp +++ b/uriloader/base/nsURILoader.cpp @@ -124,8 +124,8 @@ protected: PRBool mIsContentPreferred; }; -NS_IMPL_THREADSAFE_ADDREF(nsDocumentOpenInfo); -NS_IMPL_THREADSAFE_RELEASE(nsDocumentOpenInfo); +NS_IMPL_THREADSAFE_ADDREF(nsDocumentOpenInfo) +NS_IMPL_THREADSAFE_RELEASE(nsDocumentOpenInfo) NS_INTERFACE_MAP_BEGIN(nsDocumentOpenInfo) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIRequestObserver) @@ -531,8 +531,8 @@ nsURILoader::~nsURILoader() { } -NS_IMPL_ADDREF(nsURILoader); -NS_IMPL_RELEASE(nsURILoader); +NS_IMPL_ADDREF(nsURILoader) +NS_IMPL_RELEASE(nsURILoader) NS_INTERFACE_MAP_BEGIN(nsURILoader) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIURILoader) diff --git a/uriloader/build/nsURILoaderModule.cpp b/uriloader/build/nsURILoaderModule.cpp index 6bfbc055dd00..04afa08bea87 100644 --- a/uriloader/build/nsURILoaderModule.cpp +++ b/uriloader/build/nsURILoaderModule.cpp @@ -57,7 +57,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPrefetchService, Init) // Define the constructor functions for the Mac specific objects #if defined(XP_MAC) || defined(XP_MACOSX) #include "nsInternetConfigService.h" -NS_GENERIC_FACTORY_CONSTRUCTOR(nsInternetConfigService); +NS_GENERIC_FACTORY_CONSTRUCTOR(nsInternetConfigService) #endif ////////////////////////////////////////////////////////////////////////