summaryrefslogtreecommitdiff
path: root/misc/cgo/test/backdoor/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/backdoor/runtime.c')
-rw-r--r--misc/cgo/test/backdoor/runtime.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/misc/cgo/test/backdoor/runtime.c b/misc/cgo/test/backdoor/runtime.c
index 7e6b44872..87ee44eb6 100644
--- a/misc/cgo/test/backdoor/runtime.c
+++ b/misc/cgo/test/backdoor/runtime.c
@@ -10,20 +10,6 @@
typedef char bool;
-bool runtime·lockedOSThread(void);
-
-static void
-FLUSH(void*)
-{
-}
-
-void
-·LockedOSThread(bool b)
-{
- b = runtime·lockedOSThread();
- FLUSH(&b);
-}
-
// This is what a cgo-compiled stub declaration looks like.
void
·Issue7695(struct{void *y[8*sizeof(void*)];}p)