commit 8ef2996b6e515b7ab4aa177ba3511bf875a7eeff
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Wed Aug 5 22:00:44 2015 +0200
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Wed Aug 5 22:13:27 2015 +0200

    Remove unneeded prototypes in code.c

diff --git a/cc1/code.c b/cc1/code.c
index f1994a4..d513286 100644
--- 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)
 {

Reply via email to