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.c | |
parent | e4492aa0d87eda6a9442625b59f713bcf4f08922 (diff) | |
download | binutils-da5132d379d3e1bbda3411de63b1a40c16614809.zip binutils-da5132d379d3e1bbda3411de63b1a40c16614809.tar.gz binutils-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.c')
-rw-r--r-- | gdb/tui/tui-source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index eb7879c..fb60fd4 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.c @@ -332,7 +332,7 @@ tui_show_symtab_source (struct gdbarch *gdbarch, struct symtab *s, /* Answer whether the source is currently displayed in the source window. */ int -tui_source_is_displayed (char *fname) +tui_source_is_displayed (const char *fname) { return (TUI_SRC_WIN != NULL && TUI_SRC_WIN->generic.content_in_use |