Skip to content

Commit c7bdb13

Browse files
new
Change-Id: I10b0bde6bfe918e08b200e8463ea7e6273f651e6
1 parent 982c9aa commit c7bdb13

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_callback2();
10+
void go_callback3();
1111
1212
static void *thr2(void *arg) {
13-
go_callback2();
13+
go_callback3();
1414
return 0;
1515
}
1616
@@ -38,7 +38,7 @@ func CgoToGoCallGoexit() {
3838
C.foo3()
3939
}
4040

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

0 commit comments

Comments
 (0)