[RFA 55/67] Constify maintenance_info_program_spaces_command

Tom Tromey
2017-09-21T05:40:44Z

* progspace.c (maintenance_info_program_spaces_command):
Constify.
---
gdb/ChangeLog | 5 +++++
gdb/progspace.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/progspace.c b/gdb/progspace.c
index 0f3ac81..41e8cd0 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -345,7 +345,7 @@ valid_program_space_id (int num)
indicating which the program space to print information about. */

static void
-maintenance_info_program_spaces_command (char *args, int from_tty)
+maintenance_info_program_spaces_command (const char *args, int from_tty)
{
int requested = -1;

--
2.9.4