commit ceb693378a667c55cac26425d2bf01f3fed96c74
parent 6edad19c7b1d3bfda9f38073f950ce914895f63e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 9 Jul 2014 09:55:26 +0200
Remove non needed parameter of emiteframe
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cc1/cc1.h b/cc1/cc1.h
@@ -204,7 +204,7 @@ enum {
};
extern void
- emitdcl(Symbol *), emitsframe(Symbol *), emiteframe(Symbol *),
+ emitdcl(Symbol *), emitsframe(Symbol *), emiteframe(void),
emitsym(Node *), emitunary(Node *),
emitbin(Node *), emitexp(Node *),
emitprint(Node *), emitlabel(Symbol *), emitjump(Symbol *, Node *),
diff --git a/cc1/code.c b/cc1/code.c
@@ -201,7 +201,7 @@ emitsframe(Symbol *sym)
}
void
-emiteframe(Symbol *sym)
+emiteframe(void)
{
puts("}");
}
diff --git a/cc1/decl.c b/cc1/decl.c
@@ -469,7 +469,7 @@ extdecl(void)
emitfun(sym);
emitsframe(sym);
context(compound, NULL, NULL, NULL);
- emiteframe(sym); /* FIX: sym is not used */
+ emiteframe();
freesyms(NS_LABEL);
return;
}