From patchwork Thu May 22 20:23:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 351599 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2D9EE140086 for ; Fri, 23 May 2014 06:23:28 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=V1YYP3FJkUyATglaC2lZIgROL/7dhGQzQMCzLgxXdFEJz8q9SEEMK P59O4/bkHkS3FYaQiGSbL/N/oIlnZ1Mk+UexJnhB+6KQXk2aJcN4kebDWAL6lciA QRnXRwDwgX4Fw1CxcVwMFuw7cIMu887y7VCYy5Df7SnhqPjFoq7bFU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=VpewDbC0l/l6iMS3q7nGC2gOGTA=; b=IcwNJ1rXgCn6W/xPQDGw UZNzKNOK/zDGFt9b9HleVY70q5njthVZbh0s7ACWSX8s/Ik2hONE7r+ttD8Lnjtc H+S3pueCFFBkHafWuZpz9R7/aKDhpiOxqpA9PDxDGIpBPwlvJkgCZXcgfKgfprdT 8/8JMiBwAQSyXHpSOVlLAbY= Received: (qmail 11394 invoked by alias); 22 May 2014 20:23:22 -0000 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 Received: (qmail 11383 invoked by uid 89); 22 May 2014 20:23:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 May 2014 20:23:20 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1WnZWG-0001ik-Th from Thomas_Schwinge@mentor.com for gcc-patches@gcc.gnu.org; Thu, 22 May 2014 13:23:16 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 22 May 2014 13:23:16 -0700 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Thu, 22 May 2014 21:23:14 +0100 From: Thomas Schwinge To: Subject: [COMMITTED] Remove unused, and sort prototypes. Date: Thu, 22 May 2014 22:23:01 +0200 Message-ID: <1400790183-31944-1-git-send-email-thomas@codesourcery.com> MIME-Version: 1.0 From: tschwinge gcc/c-family/ * c-common.h (c_omp_sharing_predetermined, c_omp_remap_decl): Remove prototypes. (record_types_used_by_current_var_decl): Move prototype to where it belongs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210823 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-family/ChangeLog | 5 +++++ gcc/c-family/c-common.h | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git gcc/c-family/ChangeLog gcc/c-family/ChangeLog index 5e3e541..675a66e 100644 --- gcc/c-family/ChangeLog +++ gcc/c-family/ChangeLog @@ -1,5 +1,10 @@ 2014-05-22 Thomas Schwinge + * c-common.h (c_omp_sharing_predetermined, c_omp_remap_decl): + Remove prototypes. + (record_types_used_by_current_var_decl): Move prototype to where + it belongs. + * c-common.c (DEF_FUNCTION_TYPE_0, DEF_FUNCTION_TYPE_6) (DEF_FUNCTION_TYPE_7, DEF_FUNCTION_TYPE_8) (DEF_FUNCTION_TYPE_VAR_5): Cosmetic fixes. diff --git gcc/c-family/c-common.h gcc/c-family/c-common.h index edd43b6..0d34004 100644 --- gcc/c-family/c-common.h +++ gcc/c-family/c-common.h @@ -1000,6 +1000,7 @@ extern void warn_for_sign_compare (location_t, extern void do_warn_double_promotion (tree, tree, tree, const char *, location_t); extern void set_underlying_type (tree); +extern void record_types_used_by_current_var_decl (tree); extern void record_locally_defined_typedef (tree); extern void maybe_record_typedef_use (tree); extern void maybe_warn_unused_local_typedefs (void); @@ -1208,11 +1209,6 @@ extern tree c_omp_declare_simd_clauses_to_numbers (tree, tree); extern void c_omp_declare_simd_clauses_to_decls (tree, tree); extern enum omp_clause_default_kind c_omp_predetermined_sharing (tree); -/* Not in c-omp.c; provided by the front end. */ -extern bool c_omp_sharing_predetermined (tree); -extern tree c_omp_remap_decl (tree, bool); -extern void record_types_used_by_current_var_decl (tree); - /* Return next tree in the chain for chain_next walking of tree nodes. */ static inline tree c_tree_chain_next (tree t)