From 09cf2b22ac3b896b40940826063eed076ba3091a Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Wed, 18 Jul 2012 03:35:29 +0000 Subject: [PATCH] * linespec.c (linespec_parse_line_offset): Make parameter const. --- gdb/ChangeLog | 5 +++++ gdb/linespec.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 45de3284535..dcb38a2014c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-07-17 Keith Seitz + + * linespec.c (linespec_parse_line_offset): Make parameter + const. + 2012-07-16 Jan Kratochvil PR 11914 diff --git a/gdb/linespec.c b/gdb/linespec.c index 4156694bc4f..e5c1f9f7d24 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1420,7 +1420,7 @@ unexpected_linespec_error (linespec_parser *parser) /* Parse and return a line offset in STRING. */ static struct line_offset -linespec_parse_line_offset (char *string) +linespec_parse_line_offset (const char *string) { struct line_offset line_offset = {0, LINE_OFFSET_NONE}; -- 2.30.2