summaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-07-01 10:18:50 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2016-07-06 05:57:41 -0700
commitee950322ca2c77494b1742f304632f667ed6ce79 (patch)
tree1f9bbdd83fb37dd773c521daeabe241c563c66e7 /gdb/fbsd-nat.c
parent1040b979bc46474530fa4fee397b8acc460c01e9 (diff)
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.
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r--gdb/fbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index fcb7ff5e17..fa9516e2ec 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -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;