From acd887ba57aa179824c3f5b37851f52de61206a4 Mon Sep 17 00:00:00 2001 From: Carl Shapiro Date: Tue, 4 Jun 2013 16:22:59 -0700 Subject: [PATCH] cmd/5g, cmd/6g, cmd/8g: remove prototypes for proglist Each of the backends has two prototypes for this function but no corresponding definition. R=golang-dev, bradfitz, khr CC=golang-dev https://golang.org/cl/9930045 --- src/cmd/5g/gg.h | 2 -- src/cmd/6g/gg.h | 2 -- src/cmd/8g/gg.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/cmd/5g/gg.h b/src/cmd/5g/gg.h index 45a9a887e54..5d789159260 100644 --- a/src/cmd/5g/gg.h +++ b/src/cmd/5g/gg.h @@ -73,7 +73,6 @@ EXTERN int maxstksize; * gen.c */ void compile(Node*); -void proglist(void); void gen(Node*); Node* lookdot(Node*, Node*, int); void cgen_as(Node*, Node*); @@ -120,7 +119,6 @@ void cgen64(Node*, Node*); * gsubr.c */ void clearp(Prog*); -void proglist(void); Prog* gbranch(int, Type*, int); Prog* prog(int); void gconv(int, int); diff --git a/src/cmd/6g/gg.h b/src/cmd/6g/gg.h index ceb6a2caaa2..d5b67283762 100644 --- a/src/cmd/6g/gg.h +++ b/src/cmd/6g/gg.h @@ -64,7 +64,6 @@ extern vlong unmappedzero; * ggen.c */ void compile(Node*); -void proglist(void); void gen(Node*); Node* lookdot(Node*, Node*, int); void cgen_as(Node*, Node*); @@ -107,7 +106,6 @@ int componentgen(Node*, Node*); * gsubr.c */ void clearp(Prog*); -void proglist(void); Prog* gbranch(int, Type*, int); Prog* prog(int); void gconv(int, int); diff --git a/src/cmd/8g/gg.h b/src/cmd/8g/gg.h index 03c206aa98a..5e31159773e 100644 --- a/src/cmd/8g/gg.h +++ b/src/cmd/8g/gg.h @@ -75,7 +75,6 @@ extern uint32 unmappedzero; * ggen.c */ void compile(Node*); -void proglist(void); void gen(Node*); Node* lookdot(Node*, Node*, int); void cgen_as(Node*, Node*); @@ -123,7 +122,6 @@ void cgen64(Node*, Node*); * gsubr.c */ void clearp(Prog*); -void proglist(void); Prog* gbranch(int, Type*, int); Prog* prog(int); void gconv(int, int);