gdb: bool-ify follow_fork
[deliverable/binutils-gdb.git] / gdb / inf-ptrace.c
index a6a77ef9d31a9e47a35bdde25000deea3206d804..1fa7aa3f73e996024ef9df7c09477fc223b93cc4 100644 (file)
@@ -73,8 +73,8 @@ inf_ptrace_target::~inf_ptrace_target ()
 /* Target hook for follow_fork.  On entry and at return inferior_ptid is
    the ptid of the followed inferior.  */
 
-int
-inf_ptrace_target::follow_fork (int follow_child, int detach_fork)
+bool
+inf_ptrace_target::follow_fork (bool follow_child, bool detach_fork)
 {
   if (!follow_child)
     {
@@ -88,7 +88,7 @@ inf_ptrace_target::follow_fork (int follow_child, int detach_fork)
        perror_with_name (("ptrace"));
     }
 
-  return 0;
+  return false;
 }
 
 int
This page took 0.024239 seconds and 4 git commands to generate.