aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-11-22 09:50:47 -0500
committerBryan C. Mills <bcmills@google.com>2021-11-22 18:50:19 +0000
commit9e94cc3666cc5ff6ecf5930fb5da48ba62ad8080 (patch)
tree8d976b7cfea3557f024424389beb6ae5ab8b0777 /misc
parentcd0bf3896677583074d33af0b9e538f237db5394 (diff)
downloadgo-9e94cc3666cc5ff6ecf5930fb5da48ba62ad8080.tar.gz
go-9e94cc3666cc5ff6ecf5930fb5da48ba62ad8080.zip
misc/cgo/test: remove unnecessary forward declaration
This test otherwise fails to build on windows/arm64 as of CL 364774 due to a warning (promoted to an error) about a mismatched dllexport attribute. Fortunately, it seems not to need the forward-declared function in this file anyway. Updates #49633 Updates #49721 Change-Id: Ia4698b85077d0718a55d2cc667a7950f1d8e50ab Reviewed-on: https://go-review.googlesource.com/c/go/+/366075 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/test/testx.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/misc/cgo/test/testx.go b/misc/cgo/test/testx.go
index a61b47c41d..8ec84a8b22 100644
--- a/misc/cgo/test/testx.go
+++ b/misc/cgo/test/testx.go
@@ -113,7 +113,6 @@ typedef struct {
int i;
} Issue38408, *PIssue38408;
-extern void GoFunc49633(void *context);
extern void cfunc49633(void*); // definition is in test.go
*/
import "C"