From: Keith Seitz Date: Wed, 18 Jul 2012 03:35:29 +0000 (+0000) Subject: * linespec.c (linespec_parse_line_offset): Make parameter X-Git-Tag: binutils-2_23-branchpoint~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09cf2b22ac3b896b40940826063eed076ba3091a;p=external%2Fbinutils.git * linespec.c (linespec_parse_line_offset): Make parameter const. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 45de328..dcb38a2 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 4156694..e5c1f9f 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};