From 9628e6fd1d1afeedce7c4b45454e0bc5cbd0d5ff Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 10 May 2016 15:32:00 -0700 Subject: [PATCH] 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 --- src/runtime/testdata/testprogcgo/threadpanic_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.50.0