]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/test: fix build for CC=clang
authorElias Naur <elias.naur@gmail.com>
Fri, 22 May 2015 22:46:10 +0000 (00:46 +0200)
committerIan Lance Taylor <iant@golang.org>
Fri, 22 May 2015 22:54:24 +0000 (22:54 +0000)
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 <iant@golang.org>
misc/cgo/test/sigprocmask_linux.c

index 6597e985acb9c4c01ae4e05acd456c2349173824..518c533fa4d31b7d0e9a08b7b0fc841e63172fb6 100644 (file)
@@ -22,6 +22,7 @@ static void* sigthreadfunc(void* unused) {
        sigaddset(&mask, SIGIO);
        sigprocmask(SIG_BLOCK, &mask, NULL);
        IntoGoAndBack();
+       return NULL;
 }
 
 int RunSigThread() {