Bug 1389702 - Remove MOZ_DEPRECATED. r?froydnj draft
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sun, 13 Aug 2017 21:00:10 +0900
changeset 645584 d14fc750b32ca30e5173baf247aa39215fb3418d
parent 645583 665c02f28d39d026bcd6cbca6ed937e3dd0ad707
child 725926 75a8ab42b669fd20785b64670046920289bc6b82
push id73785
push userVYV03354@nifty.ne.jp
push dateSun, 13 Aug 2017 12:06:51 +0000
reviewersfroydnj
bugs1389702
milestone57.0a1
Bug 1389702 - Remove MOZ_DEPRECATED. r?froydnj MozReview-Commit-ID: 4pOKIFXc4wa
xpcom/base/nscore.h
--- a/xpcom/base/nscore.h
+++ b/xpcom/base/nscore.h
@@ -129,27 +129,16 @@
 #define NS_FROZENCALL
 
 #endif
 
 #define NS_IMETHOD          NS_IMETHOD_(nsresult)
 #define NS_IMETHODIMP       NS_IMETHODIMP_(nsresult)
 
 /**
- * Deprecated declarations.
- */
-#ifdef __GNUC__
-# define MOZ_DEPRECATED __attribute__((deprecated))
-#elif defined(_MSC_VER)
-# define MOZ_DEPRECATED __declspec(deprecated)
-#else
-# define MOZ_DEPRECATED
-#endif
-
-/**
  * Import/Export macros for XPCOM APIs
  */
 
 #define EXPORT_XPCOM_API(type) type
 #define IMPORT_XPCOM_API(type) type
 #define GLUE_XPCOM_API(type) type
 
 #ifdef __cplusplus