Fix various overlooked causes of warnings.

GCC5 now produces under 300 lines of warnings, but the remaining ones
will require more complex solutions.
This commit is contained in:
John "Elwin" Edwards 2016-03-06 21:02:59 -05:00
parent 5cf0194676
commit a6c73eb65a
3 changed files with 6 additions and 2 deletions

View file

@ -70,6 +70,9 @@
#define READSTAT ((format_error == 0) && (read_error == 0))
#define WRITESTAT (write_error == 0)
int rs_write_int(FILE *savef, int c);
int rs_read_int(int inf, int *i);
int read_error = FALSE;
int write_error = FALSE;
int format_error = FALSE;
@ -1533,7 +1536,7 @@ rs_write_thing(FILE *savef, THING *t)
return(WRITESTAT);
}
int
void
rs_fix_thing(THING *t)
{
THING *item;