diff options
author | Keith Seitz <keiths@redhat.com> | 2012-07-18 03:35:29 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-07-18 03:35:29 +0000 |
commit | 09cf2b22ac3b896b40940826063eed076ba3091a (patch) | |
tree | f0443e6e8cd7f278e5abfeeb112c6204176a8e5b /gdb | |
parent | a4e0a7a91dc1c922d21c3d14dff1596a54c29350 (diff) | |
download | gdb-09cf2b22ac3b896b40940826063eed076ba3091a.zip gdb-09cf2b22ac3b896b40940826063eed076ba3091a.tar.gz gdb-09cf2b22ac3b896b40940826063eed076ba3091a.tar.bz2 |
* linespec.c (linespec_parse_line_offset): Make parameter
const.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/linespec.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <keiths@redhat.com> + + * linespec.c (linespec_parse_line_offset): Make parameter + const. + 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com> 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}; |