diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 2 |
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 |