diff options
author | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:14:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:14:44 +0000 |
commit | 2863a91d356ee1a36fd3d0c8f9d6fdd18d0fe6c9 (patch) | |
tree | 5ce93bb339bfc04805dfd9866015aac7921c6789 /gdb/source.h | |
parent | 2a9cc33208852e18f5f797183732f20478ece889 (diff) | |
download | gdb-2863a91d356ee1a36fd3d0c8f9d6fdd18d0fe6c9.tar.gz |
* tracepoint.c (print_one_static_tracepoint_marker): Constify.
* symtab.c (iterate_over_some_symtabs): Constify.
* source.h (symtab_to_fullname): Return 'const char *'.
* source.c (symtab_to_fullname): Return 'const char *'.
* python/py-symtab.c (stpy_fullname): Constify.
* cli/cli-cmds.c (edit_command): Constify.
* breakpoint.c (print_breakpoint_location)
(update_static_tracepoint): Constify.
Diffstat (limited to 'gdb/source.h')
-rw-r--r-- | gdb/source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.h b/gdb/source.h index bf9a6889030..a8918a9d19a 100644 --- a/gdb/source.h +++ b/gdb/source.h @@ -48,7 +48,7 @@ extern int find_and_open_source (const char *filename, negative number for error. */ extern int open_source_file (struct symtab *s); -extern char* symtab_to_fullname (struct symtab *s); +extern const char *symtab_to_fullname (struct symtab *s); /* Create and initialize the table S->line_charpos that records the positions of the lines in the source file, which is assumed to be |