Constify annotate_source
authorTom Tromey <tromey@adacore.com>
Fri, 17 May 2019 14:41:12 +0000 (08:41 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 17 May 2019 16:16:40 +0000 (10:16 -0600)
commita45575b0356d671df2c55fcfc66de719b6b2e5e5
tree4d61f0beb1337c2b88c4a59f3ae215fb3be06142
parent87781e8475f8ec80463937130cde48540ff87149
Constify annotate_source

I noticed that annotate_source takes a "char *", but really should
take a "const char *".  This patch fixes this.

gdb/ChangeLog
2019-05-17  Tom Tromey  <tromey@adacore.com>

* annotate.c (annotate_source): Make "filename" const.
* annotate.h (annotate_source): Use const.
gdb/ChangeLog
gdb/annotate.c
gdb/annotate.h
This page took 0.026186 seconds and 4 git commands to generate.