Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type.

'ptid' compiles in C++, but not C.

gdb/ChangeLog:
	* fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.
This commit is contained in:
John Baldwin 2016-07-01 10:18:50 -07:00
parent 1040b979bc
commit ee950322ca
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-07-06 John Baldwin <jhb@FreeBSD.org>
* fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.
2016-07-06 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (arm_vfp_cprc_sub_candidate): Don't call

View File

@ -609,7 +609,7 @@ fbsd_is_vfork_done_pending (pid_t pid)
/* Check for a pending vfork done event. If one is found, remove it
from the list and return the PTID. */
static ptid
static ptid_t
fbsd_next_vfork_done (void)
{
struct fbsd_fork_info *info;