diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-05-10 15:32:00 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-05-10 23:11:44 +0000 |
| commit | 9628e6fd1d1afeedce7c4b45454e0bc5cbd0d5ff (patch) | |
| tree | b36c9f2c20ea06f4e30cacd885646eb70854a735 /src/runtime/testdata | |
| parent | 9780bf2a9587b6aa0c92526cc1d6d6d1ed4c7210 (diff) | |
| download | go-9628e6fd1d1afeedce7c4b45454e0bc5cbd0d5ff.tar.xz | |
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 <alex.brainman@gmail.com>
Diffstat (limited to 'src/runtime/testdata')
| -rw-r--r-- | src/runtime/testdata/testprogcgo/threadpanic_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
