summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-12 11:56:48 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-12 11:56:48 +0000
commitb1acb195ca3fd42363003398e61a6eddd91faea8 (patch)
tree43810495e65c0f9a869770175efa23f602f863da /gcc/protoize.c
parent6f257318a6822d3c12ddc3d3c944eab0c62fe30e (diff)
downloadgcc-b1acb195ca3fd42363003398e61a6eddd91faea8.tar.gz
* protoize.c (edit_fn_definition): Add volatile to clean_text_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index f67fc4de51a..bb61cbc0895 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -3503,7 +3503,8 @@ add_global_decls (const file_info *file_p, const char *clean_text_p)
separate routine above. */
static void
-edit_fn_definition (const def_dec_info *def_dec_p, const char *clean_text_p)
+edit_fn_definition (const def_dec_info *def_dec_p,
+ const char *volatile clean_text_p)
{
const char *end_formals;
const char *function_to_edit = def_dec_p->hash_entry->symbol;