* protoize.c (edit_fn_definition): Add volatile to clean_text_p.

From-SVN: r115367
This commit is contained in:
Mike Stump 2006-07-12 11:56:48 +00:00 committed by Mike Stump
parent d5fa9a0dd1
commit f27026943b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-07-12 Mike Stump <mrs@apple.com>
* protoize.c (edit_fn_definition): Add volatile to clean_text_p.
2006-07-10 Eric Christopher <echristo@apple.com>
* config/t-slibgcc-darwin: Rewrite.

View File

@ -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;