[RFA 50/67] Constify unset_exec_wrapper_command

Tom Tromey
2017-09-21T05:39:48Z

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

diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 194aab5..eb884a7 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -144,7 +144,7 @@ gdb_startup_inferior (pid_t pid, int num_traps)
/* Implement the "unset exec-wrapper" command. */

static void
-unset_exec_wrapper_command (char *args, int from_tty)
+unset_exec_wrapper_command (const char *args, int from_tty)
{
xfree (exec_wrapper);
exec_wrapper = NULL;
--
2.9.4