From: Keith Seitz Date: Wed, 18 Jul 2012 03:35:29 +0000 (+0000) Subject: * linespec.c (linespec_parse_line_offset): Make parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09cf2b22ac3b896b40940826063eed076ba3091a;p=binutils-gdb.git * linespec.c (linespec_parse_line_offset): Make parameter const. --- 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};