From 8f2b774ee15f1845253bc745c5fb6832b8501e68 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 7 Feb 2009 14:48:32 -0800 Subject: [PATCH] update sysimport.c for unsafe.Offset and Sizeof R=ken DELTA=2 (2 added, 0 deleted, 0 changed) OCL=24643 CL=24643 --- src/cmd/gc/sysimport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cmd/gc/sysimport.c b/src/cmd/gc/sysimport.c index da12b6361ab..4d682d675d0 100644 --- a/src/cmd/gc/sysimport.c +++ b/src/cmd/gc/sysimport.c @@ -65,5 +65,7 @@ char *sysimport = char *unsafeimport = "package unsafe\n" "type unsafe.Pointer *any\n" + "func unsafe.Offsetof (? any) (? int)\n" + "func unsafe.Sizeof (? any) (? int)\n" "\n" "$$\n";