Advanced Rogue 7: convert to ANSI-style function declarations.
Almost 1500 lines of compiler warnings remain, and the GCC developers are already working on a new version with even more warnings turned on by default.
This commit is contained in:
parent
f38b2223c8
commit
e8e6e604c3
39 changed files with 1181 additions and 889 deletions
|
|
@ -73,6 +73,12 @@ static int format_error = FALSE;
|
|||
static int endian = 0x01020304;
|
||||
#define big_endian ( *((char *)&endian) == 0x01 )
|
||||
|
||||
int list_size(struct linked_list *l);
|
||||
int rs_write_int(FILE *savef, int c);
|
||||
int rs_read_int(int inf, int *i);
|
||||
int rs_write_object_list(FILE *savef, struct linked_list *l);
|
||||
int rs_read_object_list(int inf, struct linked_list **list);
|
||||
|
||||
int
|
||||
rs_write(FILE *savef, void *ptr, size_t size)
|
||||
{
|
||||
|
|
@ -2346,7 +2352,7 @@ rs_read_thing(int inf, struct thing *t)
|
|||
return(READSTAT);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
rs_fix_thing(struct thing *t)
|
||||
{
|
||||
struct thing *tp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue