summaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:13:03 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:56 -0600
commite0b2930cdc0153d871f80ad728d6e3fa90324b5e (patch)
tree846694658b828714c1f603d4f78f489b4e116f57 /gdb/fork-child.c
parentf938677d425cd0453e26f7f51d9e94c87c92a25d (diff)
Constify unset_exec_wrapper_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * fork-child.c (unset_exec_wrapper_command): Constify.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 194aab57ca..eb884a7d09 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;