OSDN Git Service

* lang.c (java_post_options): Constify variable "dot".
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 08:17:00 +0000 (08:17 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jan 2010 08:17:00 +0000 (08:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156064 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 579982c..8413420 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 f1d8f44..22fe4ff 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