aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-01-20 08:17:00 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-01-20 08:17:00 +0000
commitc24ea6672d894964cb79e3bf6ea5f4804e7a621d (patch)
tree168f6d0da5187d211438b630dcb5f311d2ad3cb2
parent80c35b40e481737a452e96a4a9f89cae6c2b2e68 (diff)
downloadgcc-c24ea6672d894964cb79e3bf6ea5f4804e7a621d.zip
gcc-c24ea6672d894964cb79e3bf6ea5f4804e7a621d.tar.gz
gcc-c24ea6672d894964cb79e3bf6ea5f4804e7a621d.tar.bz2
* lang.c (java_post_options): Constify variable "dot".
From-SVN: r156064
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/lang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 579982c..8413420 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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.
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index f1d8f44..22fe4ff 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -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