diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-05-22 22:22:47 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2014-05-22 22:22:47 +0200 |
commit | 040d18b6ca1de5fa9d7877c4a4c8c9dc0092db0b (patch) | |
tree | e8e804e9ebff1af27747e28468856e8dc11db547 | |
parent | f6a7cffce11d23306f55b3b9f476487839a6d344 (diff) | |
download | gcc-040d18b6ca1de5fa9d7877c4a4c8c9dc0092db0b.zip gcc-040d18b6ca1de5fa9d7877c4a4c8c9dc0092db0b.tar.gz gcc-040d18b6ca1de5fa9d7877c4a4c8c9dc0092db0b.tar.bz2 |
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
-rw-r--r-- | gcc/c-family/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/c-common.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 5e3e541..675a66e 100644 --- a/gcc/c-family/ChangeLog +++ b/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 a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index edd43b6..0d34004 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) |