comparison arogue5/state.c @ 242:b49d8b963df3

Fix some functions not returning the right type.
author John "Elwin" Edwards
date Sat, 19 Mar 2016 16:18:58 -0400
parents 56e748983fa8
children d3968e9cb98d
comparison
equal deleted inserted replaced
241:d0f652010675 242:b49d8b963df3
1811 rs_write_char(savef, trap[n].tr_type); 1811 rs_write_char(savef, trap[n].tr_type);
1812 rs_write_char(savef, trap[n].tr_show); 1812 rs_write_char(savef, trap[n].tr_show);
1813 rs_write_coord(savef, trap[n].tr_pos); 1813 rs_write_coord(savef, trap[n].tr_pos);
1814 rs_write_long(savef, trap[n].tr_flags); 1814 rs_write_long(savef, trap[n].tr_flags);
1815 } 1815 }
1816
1817 return (WRITESTAT);
1816 } 1818 }
1817 1819
1818 int 1820 int
1819 rs_read_traps(int inf, struct trap *trap, int count) 1821 rs_read_traps(int inf, struct trap *trap, int count)
1820 { 1822 {
2308 *list = head; 2310 *list = head;
2309 2311
2310 return(READSTAT); 2312 return(READSTAT);
2311 } 2313 }
2312 2314
2313 int 2315 void
2314 rs_fix_thing_list(struct linked_list *list) 2316 rs_fix_thing_list(struct linked_list *list)
2315 { 2317 {
2316 struct linked_list *item; 2318 struct linked_list *item;
2317 2319
2318 for(item = list; item != NULL; item = item->l_next) 2320 for(item = list; item != NULL; item = item->l_next)