From: Brad Fitzpatrick Date: Tue, 10 May 2016 22:32:00 +0000 (-0700) Subject: runtime/testdata/testprogcgo: fix Windows C compiler warning X-Git-Tag: go1.7beta1~256 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9628e6fd1d1afeedce7c4b45454e0bc5cbd0d5ff;p=gostls13.git runtime/testdata/testprogcgo: fix Windows C compiler warning Noticed and fix by Alex Brainman. Tested in https://golang.org/cl/23005 (which makes all compiler warnings fatal during development) Fixes #15623 Change-Id: Ic19999fce8bb8640d963965cc328574efadd7855 Reviewed-on: https://go-review.googlesource.com/23010 Reviewed-by: Alex Brainman --- diff --git a/src/runtime/testdata/testprogcgo/threadpanic_windows.c b/src/runtime/testdata/testprogcgo/threadpanic_windows.c index 6f896634a6..ba66d0f5c9 100644 --- a/src/runtime/testdata/testprogcgo/threadpanic_windows.c +++ b/src/runtime/testdata/testprogcgo/threadpanic_windows.c @@ -8,7 +8,7 @@ void gopanic(void); -static unsigned int +static unsigned int __attribute__((__stdcall__)) die(void* x) { gopanic();