aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2006-07-12 11:56:48 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-07-12 11:56:48 +0000
commitf27026943b5d3c48acce296be2fb7f62587d98c7 (patch)
tree43810495e65c0f9a869770175efa23f602f863da /gcc/protoize.c
parentd5fa9a0dd178972bb3f860b511bc6a18a249aa47 (diff)
downloadgcc-f27026943b5d3c48acce296be2fb7f62587d98c7.zip
gcc-f27026943b5d3c48acce296be2fb7f62587d98c7.tar.gz
gcc-f27026943b5d3c48acce296be2fb7f62587d98c7.tar.bz2
* protoize.c (edit_fn_definition): Add volatile to clean_text_p.
From-SVN: r115367
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 f67fc4d..bb61cbc 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;