mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
* linespec.c (linespec_parse_line_offset): Make parameter
const.
This commit is contained in:
parent
a4e0a7a91d
commit
09cf2b22ac
@ -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
|
||||
|
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user