From: Elias Naur Date: Fri, 22 May 2015 22:46:10 +0000 (+0200) Subject: misc/cgo/test: fix build for CC=clang X-Git-Tag: go1.5beta1~485 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=22e4b8167f14bdd33738cfdc21c3396b2341f8fd;p=gostls13.git misc/cgo/test: fix build for CC=clang Fix build error when CL=clang introduced by CL 10173. Change-Id: I8edf210787a9803280c0779ff710c7e634a820d6 Reviewed-on: https://go-review.googlesource.com/10341 Reviewed-by: Ian Lance Taylor --- diff --git a/misc/cgo/test/sigprocmask_linux.c b/misc/cgo/test/sigprocmask_linux.c index 6597e985ac..518c533fa4 100644 --- a/misc/cgo/test/sigprocmask_linux.c +++ b/misc/cgo/test/sigprocmask_linux.c @@ -22,6 +22,7 @@ static void* sigthreadfunc(void* unused) { sigaddset(&mask, SIGIO); sigprocmask(SIG_BLOCK, &mask, NULL); IntoGoAndBack(); + return NULL; } int RunSigThread() {