scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 8ef2996b6e515b7ab4aa177ba3511bf875a7eeff
parent 64df849f2c1cd54a41c09c553f260ecb2c793595
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  5 Aug 2015 22:00:44 +0200

Remove unneeded prototypes in code.c

Diffstat:
cc1/code.c | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/cc1/code.c b/cc1/code.c @@ -12,7 +12,7 @@ static void emitbin(unsigned, void *), emitsym(unsigned, void *), emitfield(unsigned, void *), emitexp(unsigned, void *), emitsymid(unsigned, void *), emittext(unsigned, void *), - emitprint(unsigned, void *), emitfun(unsigned, void *), + emitfun(unsigned, void *), emitret(unsigned, void *), emitdcl(unsigned, void *); char *optxt[] = { @@ -120,12 +120,6 @@ void (*opcode[])(unsigned, void *) = { [OSWITCH] = emitswitch }; -static Node *simple_add(Type *, Node *, Node *), - *simple_sub(Type *, Node *, Node *), - *simple_mul(Type *, Node *, Node *), - *simple_div(Type *, Node *, Node *), - *simple_mod(Type *, Node *, Node *); - void freetree(Node *np) {