gdb: bool-ify follow_fork
[deliverable/binutils-gdb.git] / gdb / fbsd-nat.c
index 0e4afb29a009f05be79c9940cf495930cff89bfa..1d189a250136525244ea0adfe8071b6500fdcdaf 100644 (file)
@@ -1548,8 +1548,8 @@ fbsd_nat_target::supports_stopped_by_sw_breakpoint ()
 /* Target hook for follow_fork.  On entry and at return inferior_ptid is
    the ptid of the followed inferior.  */
 
-int
-fbsd_nat_target::follow_fork (int follow_child, int detach_fork)
+bool
+fbsd_nat_target::follow_fork (bool follow_child, bool detach_fork)
 {
   if (!follow_child && detach_fork)
     {
@@ -1592,7 +1592,7 @@ fbsd_nat_target::follow_fork (int follow_child, int detach_fork)
 #endif
     }
 
-  return 0;
+  return false;
 }
 
 int
This page took 0.030156 seconds and 4 git commands to generate.