From bea54e0da4b48f3d1ee506c41a14e6a570a16bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
Date: Wed, 21 Feb 2018 19:05:10 +0100
Subject: [PATCH] * src/mswindows.c: Fix prototype of fork_to_background()

Reported-by: Gisle Vanem
---
 src/mswindows.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mswindows.c b/src/mswindows.c
index 2ce9150f..5be3ed8a 100644
--- a/src/mswindows.c
+++ b/src/mswindows.c
@@ -312,7 +312,7 @@ cleanup:
 
 /* This is the corresponding Windows implementation of the
    fork_to_background() function in utils.c.  */
-void
+bool
 fork_to_background (void)
 {
   int rv;
@@ -332,6 +332,7 @@ fork_to_background (void)
       abort ();
     }
   /* If we get here, we're the child.  */
+  return false;
 }
 
 static BOOL WINAPI