summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-03-09 22:14:15 +0100
committerMatthias Braun <matze@braunis.de>2010-03-09 22:14:15 +0100
commitea75e9d38674b468f602a0699fb64b9c01254797 (patch)
tree07323333a923640640d5ab99266e2423ed697397 /ir/be/bespilldaemel.c
parent6b5dba400342fe4b747ea0770b533e07b9a4c4e8 (diff)
make firm (mostly) -Wmissing-prototypes clean
[r27277]
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index ea89086..dbd9533 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -377,7 +377,7 @@ static void spill_block(ir_node *block, void *data)
ir_nodeset_destroy(&live_nodes);
}
-void be_spill_daemel(be_irg_t *birg, const arch_register_class_t *new_cls)
+static void be_spill_daemel(be_irg_t *birg, const arch_register_class_t *new_cls)
{
ir_graph *irg = be_get_birg_irg(birg);
n_regs = new_cls->n_regs - be_put_ignore_regs(birg, new_cls, NULL);
@@ -405,6 +405,7 @@ void be_spill_daemel(be_irg_t *birg, const arch_register_class_t *new_cls)
spill_env = NULL;
}
+BE_REGISTER_MODULE_CONSTRUCTOR(be_init_daemelspill);
void be_init_daemelspill(void)
{
static be_spiller_t daemel_spiller = {
@@ -414,5 +415,3 @@ void be_init_daemelspill(void)
be_register_spiller("daemel", &daemel_spiller);
FIRM_DBG_REGISTER(dbg, "firm.be.spilldaemel");
}
-
-BE_REGISTER_MODULE_CONSTRUCTOR(be_init_daemelspill);