Fix compilation of OsBlockSIGIO with -Werror=return-type when SIGIO isn't
defined.

/jhbuild/checkout/xorg/xserver/os/utils.c: In function 'OsBlockSIGIO':
/jhbuild/checkout/xorg/xserver/os/utils.c:1248:1: error: control reaches end of 
non-void function [-Wreturn-type]

Signed-off-by: Jon TURNEY <[email protected]>
Tested-by: Yaakov Selkowitz <[email protected]>
---
 os/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/os/utils.c b/os/utils.c
index 58df709..d6c6ebb 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1235,6 +1235,7 @@ OsBlockSIGIO(void)
         return 1;
 #endif
 #endif
+    return 1;
 }
 
 void
-- 
1.7.9

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to