From fcf0688ef41df66919afe7ceea4d3fb6c2b978ab Mon Sep 17 00:00:00 2001 From: "erik%netscape.com" Date: Wed, 3 Feb 1999 18:11:45 +0000 Subject: [PATCH] Fixed compiler warning on Linux. git-svn-id: svn://10.0.0.236/trunk@19487 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/base/src/nsBaseDLL.cpp | 2 +- mozilla/base/src/nsBaseDLL.h | 2 +- mozilla/base/src/nsProperties.cpp | 2 +- mozilla/xpcom/ds/nsProperties.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/base/src/nsBaseDLL.cpp b/mozilla/base/src/nsBaseDLL.cpp index 25b78215be0..1503ff89d12 100644 --- a/mozilla/base/src/nsBaseDLL.cpp +++ b/mozilla/base/src/nsBaseDLL.cpp @@ -22,7 +22,7 @@ #include "nsProperties.h" #include "nsRepository.h" -extern "C" PRInt32 gLockCount = 0; +PRInt32 gLockCount = 0; NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); diff --git a/mozilla/base/src/nsBaseDLL.h b/mozilla/base/src/nsBaseDLL.h index ebab1c735f5..208a7c64513 100644 --- a/mozilla/base/src/nsBaseDLL.h +++ b/mozilla/base/src/nsBaseDLL.h @@ -21,6 +21,6 @@ #include "prtypes.h" -extern "C" PRInt32 gLockCount; +extern PRInt32 gLockCount; #endif /* nsBaseDLL_h___ */ diff --git a/mozilla/base/src/nsProperties.cpp b/mozilla/base/src/nsProperties.cpp index 5725c601914..f95bf4bee5b 100644 --- a/mozilla/base/src/nsProperties.cpp +++ b/mozilla/base/src/nsProperties.cpp @@ -32,7 +32,7 @@ class nsProperties : public nsIProperties { public: nsProperties(); - ~nsProperties(); + virtual ~nsProperties(); NS_DECL_ISUPPORTS diff --git a/mozilla/xpcom/ds/nsProperties.cpp b/mozilla/xpcom/ds/nsProperties.cpp index 5725c601914..f95bf4bee5b 100644 --- a/mozilla/xpcom/ds/nsProperties.cpp +++ b/mozilla/xpcom/ds/nsProperties.cpp @@ -32,7 +32,7 @@ class nsProperties : public nsIProperties { public: nsProperties(); - ~nsProperties(); + virtual ~nsProperties(); NS_DECL_ISUPPORTS