diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-01-29 21:05:58 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-01-29 21:05:58 +0000 |
commit | c616e51b000fcbc426ce51a92688c775493906e0 (patch) | |
tree | d2e910056e5bca216a5240901b18a528d2b8fe28 /gcc/c-common.h | |
parent | 971005966f30c246ab1cfcaa537497a852d1be52 (diff) | |
download | gcc-c616e51b000fcbc426ce51a92688c775493906e0.zip gcc-c616e51b000fcbc426ce51a92688c775493906e0.tar.gz gcc-c616e51b000fcbc426ce51a92688c775493906e0.tar.bz2 |
007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c-decl.c (pop_scope): Replace warnings with call to
warn_for_unused_label.
* c-common.h (warn_for_unused_label): Declare.
* c-common.c (warn_for_unused_label): Define.
cp/
* decl.c (pop_label): Replace warning with call to
warn_for_unused_label.
From-SVN: r121310
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 78b3497..5ad4582d 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -868,6 +868,7 @@ extern tree builtin_type_for_size (int, bool); extern void warn_array_subscript_with_type_char (tree); extern void warn_about_parentheses (enum tree_code, enum tree_code, enum tree_code); +extern void warn_for_unused_label (tree label); /* In c-gimplify.c */ |