This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 50/67] Constify unset_exec_wrapper_command
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:10:06 -0600
- Subject: [RFA 50/67] Constify unset_exec_wrapper_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* 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