]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused declarations.
authorKeith Randall <khr@golang.org>
Mon, 10 Mar 2014 23:02:46 +0000 (16:02 -0700)
committerKeith Randall <khr@golang.org>
Mon, 10 Mar 2014 23:02:46 +0000 (16:02 -0700)
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/73720044

src/pkg/runtime/mgc0.c

index e2bf55ae53c3245d57588483b03e856eba66487f..389d0062aa9d617b90d186267047365bc79c0afb 100644 (file)
@@ -73,7 +73,6 @@ enum {
        bitShift = sizeof(void*)*8/4,
 
        WorkbufSize     = 16*1024,
-       RootBlockSize   = 4*1024,
        FinBlockSize    = 4*1024,
 
        handoffThreshold = 4,
@@ -256,7 +255,6 @@ static Workbuf* getfull(Workbuf*);
 static void    putempty(Workbuf*);
 static Workbuf* handoff(Workbuf*);
 static void    gchelperstart(void);
-static void    addfinroots(void *wbufp, void *v);
 static void    flushallmcaches(void);
 static bool    scanframe(Stkframe *frame, void *wbufp);
 static void    addstackroots(G *gp, Workbuf **wbufp);