* linespec.c (linespec_parse_line_offset): Make parameter

const.
This commit is contained in:
Keith Seitz 2012-07-18 03:35:29 +00:00
parent a4e0a7a91d
commit 09cf2b22ac
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-07-17 Keith Seitz <keiths@redhat.com>
* linespec.c (linespec_parse_line_offset): Make parameter
const.
2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
PR 11914

View File

@ -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};