Minor C++-ification in ravenscar-thread.c
authorTom Tromey <tromey@adacore.com>
Tue, 5 Feb 2019 11:11:19 +0000 (04:11 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 15 Feb 2019 20:53:43 +0000 (13:53 -0700)
commit989f3c583d31e29029b1b7dd8ffd3afacbbb5c27
treeff04665eb394a71cf4e7f7dbc6d769b52f983067
parent6cbcc006e95110b5d9168e9835e5df36782e975b
Minor C++-ification in ravenscar-thread.c

This changes some functions in ravenscar-thread.c to return "bool"
rather than int, where appropriate, and also changes "(void)" to "()".

gdb/ChangeLog
2019-02-15  Tom Tromey  <tromey@adacore.com>

* ravenscar-thread.c (is_ravenscar_task)
(ravenscar_task_is_currently_active): Return bool.
(ravenscar_update_inferior_ptid, get_running_thread_msymbol)
(_initialize_ravenscar): Remove "(void)".
(has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise.
Return bool.
gdb/ChangeLog
gdb/ravenscar-thread.c