* lang.c (java_post_options): Constify variable "dot".
authorJoern Rennecke <amylaar@spamcop.net>
Wed, 20 Jan 2010 08:17:00 +0000 (08:17 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 20 Jan 2010 08:17:00 +0000 (08:17 +0000)
From-SVN: r156064

gcc/java/ChangeLog
gcc/java/lang.c

index 579982c5c463cf792da21bce96df528c9cd7c0ce..841342073d42e4805de32866786068324ea9a014 100644 (file)
@@ -1,3 +1,7 @@
+2010-01-20  Joern Rennecke  <amylaar@spamcop.net>
+
+       * lang.c (java_post_options): Constify variable "dot".
+
 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
 
        * jcf-dump.c (version): Update copyright notice dates.
index f1d8f44ce86d30bece4262647f6c2049ebfc6e22..22fe4ffd09b0476bf68e20c5478ab92c6fcd6a48 100644 (file)
@@ -587,7 +587,7 @@ java_post_options (const char **pfilename)
     {
       if (dependency_tracking)
        {
-         char *dot;
+         const char *dot;
 
          /* If the target is set and the output filename is set, then
             there's no processing to do here.  Otherwise we must