This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 48/67] Constify delete_bookmark_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:04 -0600
- Subject: [RFA 48/67] Constify delete_bookmark_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* reverse.c (delete_bookmark_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/reverse.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/reverse.c b/gdb/reverse.c
index 80e414a..e7ef5c3 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -201,7 +201,7 @@ delete_all_bookmarks (void)
}
static void
-delete_bookmark_command (char *args, int from_tty)
+delete_bookmark_command (const char *args, int from_tty)
{
if (bookmark_chain == NULL)
{
--
2.9.4