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/linespec.c | |
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/linespec.c')
-rw-r--r-- | gdb/linespec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |