From patchwork Fri Jun 3 18:37:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 98622 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 1DBC3B6FA5 for ; Sat, 4 Jun 2011 04:38:13 +1000 (EST) Received: (qmail 22438 invoked by alias); 3 Jun 2011 18:38:11 -0000 Received: (qmail 22430 invoked by uid 22791); 3 Jun 2011 18:38:11 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL, BAYES_50, SARE_SUB_ENC_UTF8, 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 18:37:57 +0000 Received: from eggs.gnu.org ([140.186.70.92]:34068) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QSZFs-0006TH-Do for gcc-patches@gnu.org; Fri, 03 Jun 2011 14:37:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSZFq-0007BW-Qm for gcc-patches@gnu.org; Fri, 03 Jun 2011 14:37:55 -0400 Received: from smtp201.iad.emailsrvr.com ([207.97.245.201]:51817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSZFq-0007BK-ND for gcc-patches@gnu.org; Fri, 03 Jun 2011 14:37:54 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id DF3243500FD for ; Fri, 3 Jun 2011 14:37:53 -0400 (EDT) Received: from dynamic1.wm-web.iad.mlsrvr.com (dynamic1.wm-web.iad1a.rsapps.net [192.168.2.150]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id CE495350129 for ; Fri, 3 Jun 2011 14:37:53 -0400 (EDT) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic1.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id B7570C98070 for ; Fri, 3 Jun 2011 14:37:53 -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 20:37:53 +0200 (CEST) Date: Fri, 3 Jun 2011 20:37:53 +0200 (CEST) Subject: =?utf-8?Q?libobjc=3A_remove_deprecate_API_=28patch_6=29?= From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1307126273.7494384@www2.webmail.us> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 207.97.245.201 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 trivial patch removes the deprecated definition of STR. Committed to trunk. Thanks Index: Makefile.in =================================================================== --- Makefile.in (revision 174610) +++ Makefile.in (working copy) @@ -131,7 +131,6 @@ MetaClass.h \ Object.h \ Protocol.h \ - STR.h \ objc_get_uninstalled_dtable.h \ objc_malloc.h \ objc_msg_sendv.h \ Index: ChangeLog =================================================================== --- ChangeLog (revision 174610) +++ ChangeLog (working copy) @@ -1,5 +1,11 @@ 2011-06-03 Nicola Pero + * objc/objc.h: Do not include deprecated/STR.h. + * objc/deprecated/STR.h: Removed. + * Makefile.in (OBJC_DEPRECATED_H): removed STR.h. + +2011-06-03 Nicola Pero + * Makefile.in (OBJC_H): Removed hash.h and sarray.h. (OBJC_DEPRECATED_H): Likewise. * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add, Index: objc/deprecated/STR.h =================================================================== --- objc/deprecated/STR.h (revision 174593) +++ objc/deprecated/STR.h (working copy) @@ -1,2 +0,0 @@ -/* Incredibly obsolete. */ -typedef char *STR; /* String alias */ Index: objc/objc.h =================================================================== --- objc/objc.h (revision 174593) +++ objc/objc.h (working copy) @@ -125,8 +125,6 @@ compiler to do some type-checking. */ #define Nil (Class)0 -#include "deprecated/STR.h" - /* TODO: Move the 'Protocol' declaration into objc/runtime.h. A Protocol is simply an object, not a basic Objective-C type. The Apple runtime defines Protocol in objc/runtime.h too, so it's good