]> Cypherpunks repositories - gostls13.git/commitdiff
dead code
authorRuss Cox <rsc@golang.org>
Tue, 14 Jul 2009 16:28:42 +0000 (09:28 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 14 Jul 2009 16:28:42 +0000 (09:28 -0700)
R=r
DELTA=20  (0 added, 20 deleted, 0 changed)
OCL=31584
CL=31598

src/cmd/ld/go.c

index c138a8d43b9d63dd880cb7c9327529ba5d103cf7..5a553847080dbee4d1ff2c991ffab788aab196cd 100644 (file)
@@ -315,26 +315,6 @@ parsemethod(char **pp, char *ep, char **methp)
        return 1;
 }
 
-static int
-importcmp(const void *va, const void *vb)
-{
-       Import *a, *b;
-
-       a = *(Import**)va;
-       b = *(Import**)vb;
-       return strcmp(a->name, b->name);
-}
-
-static int
-symcmp(const void *va, const void *vb)
-{
-       Sym *a, *b;
-
-       a = *(Sym**)va;
-       b = *(Sym**)vb;
-       return strcmp(a->name, b->name);
-}
-
 static void mark(Sym*);
 static int markdepth;