From patchwork Sun Dec 19 01:43:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 76110 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 1D6BAB7082 for ; Sun, 19 Dec 2010 12:43:36 +1100 (EST) Received: (qmail 13376 invoked by alias); 19 Dec 2010 01:43:34 -0000 Received: (qmail 13368 invoked by uid 22791); 19 Dec 2010 01:43:33 -0000 X-SWARE-Spam-Status: No, hits=0.0 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; Sun, 19 Dec 2010 01:43:30 +0000 Received: from eggs.gnu.org ([140.186.70.92]:57985) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PU8J3-0002Ic-En for gcc-patches@gnu.org; Sat, 18 Dec 2010 20:43:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PU8J4-00028s-TL for gcc-patches@gnu.org; Sat, 18 Dec 2010 20:43:28 -0500 Received: from smtp181.iad.emailsrvr.com ([207.97.245.181]:43472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PU8J4-00028h-PP for gcc-patches@gnu.org; Sat, 18 Dec 2010 20:43:26 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp38.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 2B7DB3483B4 for ; Sat, 18 Dec 2010 20:43:26 -0500 (EST) Received: from dynamic10.wm-web.iad.mlsrvr.com (dynamic10.wm-web.iad1a.rsapps.net [192.168.2.217]) by smtp38.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 135833482B6 for ; Sat, 18 Dec 2010 20:43:26 -0500 (EST) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic10.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id 04BAD478807F for ; Sat, 18 Dec 2010 20:43:26 -0500 (EST) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Sun, 19 Dec 2010 02:43:26 +0100 (CET) Date: Sun, 19 Dec 2010 02:43:26 +0100 (CET) Subject: =?UTF-8?Q?libobjc:=20header=20cleanup=20for=20new=20API=20(5)?= From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1292723006.017918530@192.168.2.229> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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 is really minor but clarifies that typedstream.h isn't supposed to be included by Object.h in the new API (it is not even supposed to exist in the new API) ;-) Committed. Thanks Index: ChangeLog =================================================================== --- ChangeLog (revision 168042) +++ ChangeLog (working copy) @@ -1,5 +1,10 @@ 2010-12-19 Nicola Pero + * objc/Object.h: Include deprecated/typedstream.h and + deprecated/hash.h instead of typedstream.h. Updated comments. + +2010-12-19 Nicola Pero + * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h. * objc/deprecated/objc_msg_sendv.h: New. * objc/message.h: Do not define retval_t, apply_t, arglist, Index: objc/Object.h =================================================================== --- objc/Object.h (revision 168041) +++ objc/Object.h (working copy) @@ -27,7 +27,6 @@ #define __object_INCLUDE_GNU #include "objc.h" -#include "typedstream.h" #ifdef __cplusplus extern "C" { @@ -56,6 +55,10 @@ - (BOOL)isEqual: (id)anObject; @end +/* All of the following includes were deprecated in GCC 4.6 and will + be removed in the next release. */ +#include "deprecated/hash.h" +#include "deprecated/typedstream.h" #include "deprecated/Object.h" #ifdef __cplusplus