From: Thomas Schwinge Date: Thu, 22 May 2014 20:22:47 +0000 (+0200) Subject: Remove unused, and sort prototypes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=040d18b6ca1de5fa9d7877c4a4c8c9dc0092db0b;p=gcc.git Remove unused, and sort prototypes. 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. From-SVN: r210823 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 5e3e5413d43..675a66e9482 100644 --- a/gcc/c-family/ChangeLog +++ b/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 a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index edd43b687e2..0d34004e4ff 100644 --- a/gcc/c-family/c-common.h +++ b/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)