OSDN Git Service

* protoize.c (edit_fn_definition): Add volatile to clean_text_p.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jul 2006 11:56:48 +0000 (11:56 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jul 2006 11:56:48 +0000 (11:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115367 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/protoize.c

index 3568f42..b2cca5c 100644 (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.
index f67fc4d..bb61cbc 100644 (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;