[RFA,52/67] Constify save_gdb_index_command

Message ID 20170921051023.19023-53-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Sept. 21, 2017, 5:10 a.m. UTC
  ChangeLog
2017-09-20  Tom Tromey  <tom@tromey.com>

	* dwarf2read.c (save_gdb_index_command): Constify.
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2read.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b1914cf..302ac42 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -24025,7 +24025,7 @@  write_psymtabs_to_index (struct objfile *objfile, const char *dir)
    GDB manual.  Any changes here must be documented there.  */
 
 static void
-save_gdb_index_command (char *arg, int from_tty)
+save_gdb_index_command (const char *arg, int from_tty)
 {
   struct objfile *objfile;