Skip to content

Commit 068b3cf

Browse files
new
Change-Id: I0c661f2c3bcd386c12c0145e968232316a7c18c4
1 parent c7bdb13 commit 068b3cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/runtime/testdata/testprogcgo/goexit.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ package main
77
/*
88
#include <pthread.h>
99
10-
void go_callback3();
10+
extern void go_callback2();
1111
1212
static void *thr2(void *arg) {
13-
go_callback3();
13+
go_callback2();
1414
return 0;
1515
}
1616
@@ -38,7 +38,7 @@ func CgoToGoCallGoexit() {
3838
C.foo3()
3939
}
4040

41-
//export go_callback3
42-
func go_callback3() {
41+
//export go_callback2
42+
func go_callback2() {
4343
runtime.Goexit()
4444
}

0 commit comments

Comments
 (0)