From patchwork Fri Jun 3 19:24:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 98636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9AC3DB6FAD for ; Sat, 4 Jun 2011 05:24:35 +1000 (EST) Received: (qmail 4531 invoked by alias); 3 Jun 2011 19:24:34 -0000 Received: (qmail 4523 invoked by uid 22791); 3 Jun 2011 19:24:33 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL, BAYES_50, SARE_SUB_ENC_UTF8, TW_BJ, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Jun 2011 19:24:19 +0000 Received: from eggs.gnu.org ([140.186.70.92]:54140) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QSZyk-0000OT-QS for gcc-patches@gnu.org; Fri, 03 Jun 2011 15:24:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSZyj-0006Vy-33 for gcc-patches@gnu.org; Fri, 03 Jun 2011 15:24:18 -0400 Received: from smtp151.iad.emailsrvr.com ([207.97.245.151]:35126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSZyi-0006Vu-Rt for gcc-patches@gnu.org; Fri, 03 Jun 2011 15:24:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp25.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 128E93004BE for ; Fri, 3 Jun 2011 15:24:16 -0400 (EDT) Received: from dynamic8.wm-web.iad.mlsrvr.com (dynamic8.wm-web.iad1a.rsapps.net [192.168.2.149]) by smtp25.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id E60513003E1 for ; Fri, 3 Jun 2011 15:24:15 -0400 (EDT) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic8.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id A3FCF305006C for ; Fri, 3 Jun 2011 15:24:15 -0400 (EDT) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Fri, 3 Jun 2011 21:24:15 +0200 (CEST) Date: Fri, 3 Jun 2011 21:24:15 +0200 (CEST) Subject: =?utf-8?Q?libobjc=3A_remove_deprecated_API_=28patch_8=29?= From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1307129055.669813114@www2.webmail.us> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 207.97.245.151 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 + * 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 + * 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. */