aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/type.h')
-rw-r--r--src/pkg/runtime/type.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pkg/runtime/type.h b/src/pkg/runtime/type.h
index 6052e24234..ff0505be87 100644
--- a/src/pkg/runtime/type.h
+++ b/src/pkg/runtime/type.h
@@ -15,7 +15,6 @@ typedef struct Method Method;
typedef struct IMethod IMethod;
typedef struct SliceType SliceType;
typedef struct FuncType FuncType;
-typedef struct PtrType PtrType;
// Needs to be in sync with typekind.h/CommonSize
struct Type
@@ -101,7 +100,3 @@ struct PtrType
Type;
Type *elem;
};
-
-// Here instead of in runtime.h because it uses the type names.
-bool runtime·addfinalizer(void*, FuncVal *fn, uintptr, Type*, PtrType*);
-bool runtime·getfinalizer(void *p, bool del, FuncVal **fn, uintptr *nret, Type**, PtrType**);