diff mbox

[COMMITTED] Remove unused, and sort prototypes.

Message ID 1400790183-31944-1-git-send-email-thomas@codesourcery.com
State New
Headers show

Commit Message

Thomas Schwinge May 22, 2014, 8:23 p.m. UTC
From: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>

	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 mbox

Patch

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  <thomas@codesourcery.com>
 
+	* 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)