]> Cypherpunks repositories - gostls13.git/commit
runtime: correct GoCheckBindM's C declaration in EnsureBindM test
authorCherry Mui <cherryyz@google.com>
Thu, 6 Apr 2023 21:36:05 +0000 (17:36 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 6 Apr 2023 22:46:00 +0000 (22:46 +0000)
commit4f4a9c7fff0b96d596c65f7997ab646b3ac42517
treef7313005be8757b9226cba1595b912d79741d947
parent7f5af094f83957680114e3fd357cfd4b7a5b34c1
runtime: correct GoCheckBindM's C declaration in EnsureBindM test

The test file has a C declaration which doesn't match the actual
definition. Remove it and include "_cgo_export.h" to have the
right declaration.

Change-Id: Iddf6d8883ee0e439147c7027029dd3e352ef090d
Reviewed-on: https://go-review.googlesource.com/c/go/+/482975
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/runtime/testdata/testprogcgo/bindm.c [new file with mode: 0644]
src/runtime/testdata/testprogcgo/bindm.go