summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/cgo/libcgo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/cgo/libcgo.h')
-rw-r--r--src/pkg/runtime/cgo/libcgo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/cgo/libcgo.h b/src/pkg/runtime/cgo/libcgo.h
index 91032959c..c31d19d76 100644
--- a/src/pkg/runtime/cgo/libcgo.h
+++ b/src/pkg/runtime/cgo/libcgo.h
@@ -42,7 +42,7 @@ struct ThreadStart
* Makes a local copy of the ThreadStart and
* calls libcgo_sys_thread_start(ts).
*/
-void (*libcgo_thread_start)(ThreadStart *ts);
+extern void (*libcgo_thread_start)(ThreadStart *ts);
/*
* Creates the new operating system thread (OS, arch dependent).