comparison rogue4/scrolls.c @ 215:1b73a8641b37

rogue4: fix most GCC5 warnings. Converting all function definitions to ANSI style accounts for most of the change. This has exposed other problems, such as daemons not actually being their stated type, that will require more careful solutions.
author John "Elwin" Edwards
date Wed, 27 Jan 2016 19:41:05 -0500
parents 9535a08ddc39
children 3900f3cfe07d
comparison
equal deleted inserted replaced
214:e5a15b09ce1d 215:1b73a8641b37
16 16
17 /* 17 /*
18 * read_scroll: 18 * read_scroll:
19 * Read a scroll from the pack and do the appropriate thing 19 * Read a scroll from the pack and do the appropriate thing
20 */ 20 */
21 read_scroll() 21 void
22 read_scroll(void)
22 { 23 {
23 register THING *obj; 24 register THING *obj;
24 register int y, x; 25 register int y, x;
25 register char ch; 26 register char ch;
26 register THING *op; 27 register THING *op;