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 <jon.tur...@dronecode.org.uk> Tested-by: Yaakov Selkowitz <yselkow...@users.sourceforge.net> --- 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 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel