This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Constify delete_bookmark_command
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 27 Sep 2017 14:57:44 -0000
- Subject: [binutils-gdb] Constify delete_bookmark_command
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8949cb878d5daae969db6326e1e1323bfa3ad9d4
commit 8949cb878d5daae969db6326e1e1323bfa3ad9d4
Author: Tom Tromey <tom@tromey.com>
Date: Tue Sep 12 21:09:47 2017 -0600
Constify delete_bookmark_command
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* reverse.c (delete_bookmark_command): Constify.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/reverse.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37a6635..b3a6611 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-27 Tom Tromey <tom@tromey.com>
+ * reverse.c (delete_bookmark_command): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* remote.c (set_memory_packet_size)
(set_memory_write_packet_size, show_memory_write_packet_size)
(set_memory_read_packet_size, show_memory_read_packet_size)
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)
{