Skip to content

Commit

Permalink
misc/cgo/test: remove unnecessary forward declaration
Browse files Browse the repository at this point in the history
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 golang#49633
Updates golang#49721

Change-Id: Ia4698b85077d0718a55d2cc667a7950f1d8e50ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/366075
Trust: Bryan C. Mills <[email protected]>
Run-TryBot: Bryan C. Mills <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
Bryan C. Mills committed Nov 22, 2021
1 parent cd0bf38 commit 9e94cc3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion misc/cgo/test/testx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9e94cc3

Please sign in to comment.