summaryrefslogtreecommitdiff
path: root/src/runtime/mgc0.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/mgc0.go')
-rw-r--r--src/runtime/mgc0.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/mgc0.go b/src/runtime/mgc0.go
index bd5ebab46..0e17599c2 100644
--- a/src/runtime/mgc0.go
+++ b/src/runtime/mgc0.go
@@ -21,15 +21,6 @@ func gc_itab_ptr(ret *interface{}) {
*ret = (*itab)(nil)
}
-// Type used for "conservative" allocations in C code.
-type notype [8]*byte
-
-// Called from C. Returns the Go type used for C allocations w/o type.
-func gc_notype_ptr(ret *interface{}) {
- var x notype
- *ret = x
-}
-
func gc_unixnanotime(now *int64) {
sec, nsec := timenow()
*now = sec*1e9 + int64(nsec)