This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[COMMITTED] Make mips_final_postscan_insn static
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 18 Apr 2009 00:45:23 -0700
- Subject: [COMMITTED] Make mips_final_postscan_insn static
This fixes a bootstrap failure due to a new warning:
../../src/gcc/config/mips/mips.c:14723: error: no previous prototype for 'mips_final_postscan_insn'
This function is only used in the target structure so it can be static.
Bootstrap is in stage 3 now.
Committed as r146304.
Adam
2009-04-18 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.c (mips_final_postscan_insn): Make it static.
Index: mips.c
===================================================================
--- mips.c (revision 146303)
+++ mips.c (working copy)
@@ -14719,7 +14719,7 @@ mips_final_prescan_insn (rtx insn, rtx *
/* Implement TARGET_ASM_FINAL_POSTSCAN_INSN. */
-void
+static void
mips_final_postscan_insn (FILE *file, rtx insn, rtx *opvec, int noperands)
{
int i;