GCC4 fix
authorLi-Ta Lo <ollie@lanl.gov>
Thu, 4 Aug 2005 14:59:33 +0000 (14:59 +0000)
committerLi-Ta Lo <ollie@lanl.gov>
Thu, 4 Aug 2005 14:59:33 +0000 (14:59 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/romcc/romcc.c

index 69121e2b83b057301ef2ab6a6e187bd5f481a6da..a28da889d413ee729cd128780597d4d1bb61df0f 100644 (file)
@@ -1301,7 +1301,10 @@ static struct triple *transform_to_arch_instruction(
        struct compile_state *state, struct triple *ins);
 static struct triple *flatten(
        struct compile_state *state, struct triple *first, struct triple *ptr);
-
+static void print_dominators(struct compile_state *state,
+       FILE *fp, struct basic_blocks *bb);
+static void print_dominance_frontiers(struct compile_state *state,
+       FILE *fp, struct basic_blocks *bb);
 
 
 
@@ -15293,8 +15296,6 @@ static void romcc_print_blocks(struct compile_state *state, FILE *fp)
 }
 static void print_blocks(struct compile_state *state, const char *func, FILE *fp)
 {
-       static void print_dominators(struct compile_state *state, FILE *fp, struct basic_blocks *bb);
-       static void print_dominance_frontiers(struct compile_state *state, FILE *fp, struct basic_blocks *bb);
        if (state->compiler->debug & DEBUG_BASIC_BLOCKS) {
                fprintf(fp, "After %s\n", func);
                romcc_print_blocks(state, fp);