sim: sh: clean up some warnings

Mostly converting old style prototypes.  Also include a few missing
headers, and add static/casts where appropriate.
This commit is contained in:
Mike Frysinger
2015-03-28 15:11:31 -04:00
parent 02131c7ff6
commit 5fa71a1b13
3 changed files with 131 additions and 211 deletions

View File

@@ -3240,8 +3240,7 @@ ppi_gensim (void)
printf (" (greater_equal = ~(overflow << 3 & res_grd) & DSR_MASK_G)\n");
printf ("\n");
printf ("static void\n");
printf ("ppi_insn (iword)\n");
printf (" int iword;\n");
printf ("ppi_insn (int iword)\n");
printf ("{\n");
printf (" /* 'ee' = [x0, x1, y0, a1] */\n");
printf (" static char e_tab[] = { 8, 9, 10, 5};\n");