diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-18 19:24:22 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-01 10:21:10 -0600 |
commit | 82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5 (patch) | |
tree | 40847145d6c1a411dce67743dbd2b6731b463dcc /opcodes/mt-opc.h | |
parent | b6a1c03a9547590a35fccda9ae358fb1cfd8befa (diff) | |
download | gdb-82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5.zip gdb-82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5.tar.gz gdb-82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5.tar.bz2 |
use cmd_sfunc_ftype and cmd_cfunc_ftype more
This patch changes a few more spots to use either cmd_sfunc_ftype or
cmd_cfunc_ftype, as appropriate. This is a bit cleaner.
Tested by rebuilding.
2014-07-01 Tom Tromey <tromey@redhat.com>
* breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
* breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
* cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
(add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
* command.h (cmd_cfunc_ftype): Move earlier.
(add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
(add_com, add_info): Use cmd_cfunc_ftype.
Diffstat (limited to 'opcodes/mt-opc.h')
0 files changed, 0 insertions, 0 deletions