diff options
author | Graham Stott <grahams@redhat.com> | 2002-01-12 13:45:39 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2002-01-12 13:45:39 +0000 |
commit | f9f6b7df9dbea592ddb6f9230992872fee866a03 (patch) | |
tree | 43e7dd937fa3ea2a493d8688200b94582d288196 /gcc/attribs.c | |
parent | 4a69261704c060c8a7ff364dc570571f6c80569e (diff) | |
download | gcc-f9f6b7df9dbea592ddb6f9230992872fee866a03.zip gcc-f9f6b7df9dbea592ddb6f9230992872fee866a03.tar.gz gcc-f9f6b7df9dbea592ddb6f9230992872fee866a03.tar.bz2 |
attribs.c (handle_deprecated_attribute): constify WHAT.
* attribs.c (handle_deprecated_attribute): constify WHAT.
* diagnostic.c (warn_deprecated_use): Add braces, fixes
dangling else warning and constify WHAT.
* except.h (struct function, struct inline_remap): Move
struct tag forward defs before all prototypes.
(duplicate_eh_regions): Whitespace.
From-SVN: r48799
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r-- | gcc/attribs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c index f342cd1..2f2096d 100644 --- a/gcc/attribs.c +++ b/gcc/attribs.c @@ -1148,7 +1148,7 @@ handle_deprecated_attribute (node, name, args, flags, no_add_attrs) { tree type = NULL_TREE; int warn = 0; - char *what = NULL; + const char *what = NULL; if (DECL_P (*node)) { |