[hackers] [scc] Remove unneeded prototypes in code.c || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 5 Aug 2015 22:16:05 +0200 (CEST)

commit 8ef2996b6e515b7ab4aa177ba3511bf875a7eeff
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 5 22:00:44 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_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
_AT_@ -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[] = {
_AT_@ -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)
 {
Received on Wed Aug 05 2015 - 22:16:05 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 05 2015 - 22:24:12 CEST