diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-09-19 12:44:45 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-09-19 12:44:45 +0000 |
commit | bf70f69596aebfe8c461c3b95e4e38adbf834860 (patch) | |
tree | ede8fb9cbf1704c9279965febca5afda37a64e99 /gdb/gnu-nat.c | |
parent | f8c5cdb04084c92be52cfcb47522d6f1185d764d (diff) | |
download | gdb-bf70f69596aebfe8c461c3b95e4e38adbf834860.tar.gz |
Mostly code cleanup: Constification.
gdb/
2013-09-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Constification.
* main.c (captured_main): Replace catch_command_errors by
catch_command_errors_const. Twice.
* symfile.c (symbol_file_add_main_1): Make args parameter const.
(symbol_file_add): Make name parameter const.
(symbol_file_add_main, symbol_file_add_main_1): Make args parameter const.
(symfile_bfd_open): Make name parameter const, rename it to cname. Add
variable name. Change their usage accordingly.
* symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter
const.
(symbol_file_add_main): Make args parameter const.
Diffstat (limited to 'gdb/gnu-nat.c')
0 files changed, 0 insertions, 0 deletions