This patch removes the deprecated definition of METHOD_NULL.

Committed to trunk.

Thanks

Index: Makefile.in
===================================================================
--- Makefile.in (revision 174615)
+++ Makefile.in (working copy)
@@ -127,7 +127,6 @@ OBJC_H = \
 # User-visible header files containing deprecated APIs, from the
 # objc/deprecated directory
 OBJC_DEPRECATED_H = \
-  METHOD_NULL.h \
   MetaClass.h \
   Object.h \
   Protocol.h \
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 174615)
+++ ChangeLog   (working copy)
@@ -1,5 +1,11 @@
 2011-06-03  Nicola Pero  <nicola.p...@meta-innovation.com>
 
+       * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
+       * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
+       * objc/deprecated/METHOD_NULL.h: Removed.
+       
+2011-06-03  Nicola Pero  <nicola.p...@meta-innovation.com>
+
        * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
        objc_malloc.h and objc_unexpected_exception.h.
        (exception.lo): Do not use -Wno-deprecated-declarations.
Index: objc/deprecated/METHOD_NULL.h
===================================================================
--- objc/deprecated/METHOD_NULL.h       (revision 174593)
+++ objc/deprecated/METHOD_NULL.h       (working copy)
@@ -1,2 +0,0 @@
-/* For functions which return Method_t */
-#define METHOD_NULL    (Method_t)0
Index: objc/objc-api.h
===================================================================
--- objc/objc-api.h     (revision 174615)
+++ objc/objc-api.h     (working copy)
@@ -58,8 +58,6 @@ see the files COPYING3 and COPYING.RUNTIME respect
 extern "C" {
 #endif /* __cplusplus */
 
-#include "deprecated/METHOD_NULL.h"
-
 /* Method descriptor returned by introspective Object methods.
    This is really just the first part of the more complete objc_method
    structure defined below and used internally by the runtime.  */


Reply via email to