diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-10 21:15:51 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-10 21:15:51 +0000 |
commit | da5132d379d3e1bbda3411de63b1a40c16614809 (patch) | |
tree | f39d256689f5acfaadaaacd41cf60d30304f32f0 /gdb/tui/tui-source.h | |
parent | e4492aa0d87eda6a9442625b59f713bcf4f08922 (diff) | |
download | gdb-da5132d379d3e1bbda3411de63b1a40c16614809.zip gdb-da5132d379d3e1bbda3411de63b1a40c16614809.tar.gz gdb-da5132d379d3e1bbda3411de63b1a40c16614809.tar.bz2 |
gdb/
Code cleanup.
* psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
type const char *.
* tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
const char *.
* tui/tui-source.h (tui_source_is_displayed): Likewise.
Diffstat (limited to 'gdb/tui/tui-source.h')
-rw-r--r-- | gdb/tui/tui-source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h index f5f31ed..8870268 100644 --- a/gdb/tui/tui-source.h +++ b/gdb/tui/tui-source.h @@ -35,7 +35,7 @@ extern enum tui_status tui_set_source_content (struct symtab *, extern void tui_show_symtab_source (struct gdbarch *, struct symtab *, struct tui_line_or_address, int); -extern int tui_source_is_displayed (char *); +extern int tui_source_is_displayed (const char *); extern void tui_vertical_source_scroll (enum tui_scroll_direction, int); |