From patchwork Tue Dec 20 18:49:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 132498 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 BBB56B6FDD for ; Wed, 21 Dec 2011 05:50:02 +1100 (EST) Received: (qmail 26782 invoked by alias); 20 Dec 2011 18:49:59 -0000 Received: (qmail 26769 invoked by uid 22791); 20 Dec 2011 18:49:57 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from mail-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Dec 2011 18:49:45 +0000 Received: by iakh37 with SMTP id h37so7531657iak.20 for ; Tue, 20 Dec 2011 10:49:44 -0800 (PST) Received: by 10.42.72.135 with SMTP id o7mr2968264icj.45.1324406984432; Tue, 20 Dec 2011 10:49:44 -0800 (PST) Received: by 10.42.72.135 with SMTP id o7mr2968239icj.45.1324406984321; Tue, 20 Dec 2011 10:49:44 -0800 (PST) Received: from coign.google.com ([2620:0:1000:2301:f2de:f1ff:fe40:72a8]) by mx.google.com with ESMTPS id t5sm13820444igb.4.2011.12.20.10.49.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 10:49:43 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegrouops.com Subject: libgo patch committed: Remove some more _GNU_SOURCE Date: Tue, 20 Dec 2011 10:49:42 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 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 I realized that I didn't remove uses of _GNU_SOURCE from libgo/runtime. They are no longer necessary now that it is defined on the command line for all libgo .c files. Bootstrapped on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r cf7ab235f776 libgo/runtime/runtime.h --- a/libgo/runtime/runtime.h Tue Dec 20 10:17:02 2011 -0800 +++ b/libgo/runtime/runtime.h Tue Dec 20 10:46:59 2011 -0800 @@ -6,7 +6,6 @@ #include "config.h" -#define _GNU_SOURCE #include "go-assert.h" #include #include diff -r cf7ab235f776 libgo/runtime/yield.c --- a/libgo/runtime/yield.c Tue Dec 20 10:17:02 2011 -0800 +++ b/libgo/runtime/yield.c Tue Dec 20 10:46:59 2011 -0800 @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#define _GNU_SOURCE - #include "config.h" #include