diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-10 16:33:47 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-10 16:33:47 +0000 |
commit | 38f48a198336c705c13f63e9862c40257c259247 (patch) | |
tree | a263fcd5e0513ef5acd316e056419a84c1daad7d /gcc/c-family/c-common.h | |
parent | d3939a15b148a5769a8ca982665c7e43105b3870 (diff) |
2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-family/c-common.c (warn_if_unused_value): Move definition to here.
* tree.h (warn_if_unused_value): Move declaration from here.
* c-family/c-common.h (warn_if_unused_value): Move declaration to here.
* cp/cvt.c (convert_to_void): Update comment.
* stmt.c (warn_if_unused_value): Move definition from here.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r-- | gcc/c-family/c-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 8552f0c92e9..cab7b439661 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -772,6 +772,7 @@ extern bool strict_aliasing_warning (tree, tree, tree); extern void warnings_for_convert_and_check (tree, tree, tree); extern tree convert_and_check (tree, tree); extern void overflow_warning (location_t, tree); +extern bool warn_if_unused_value (const_tree, location_t); extern void warn_logical_operator (location_t, enum tree_code, tree, enum tree_code, tree, enum tree_code, tree); extern void check_main_parameter_types (tree decl); |