diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-12 13:45:39 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-12 13:45:39 +0000 |
commit | 7f54eb35c8097c6274ef549ae695eb562e41e600 (patch) | |
tree | 43e7dd937fa3ea2a493d8688200b94582d288196 /gcc/attribs.c | |
parent | 5887eb0d72f95d5e23605756d3041fbcb3489c45 (diff) | |
download | gcc-7f54eb35c8097c6274ef549ae695eb562e41e600.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48799 138bc75d-0d04-0410-961f-82ee72b054a4
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 f342cd16bf3..2f2096d1010 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)) { |