comparison srogue/scrolls.c @ 217:94a0d9dd5ce1

Super-Rogue: convert to ANSI-style function declarations. This fixes most of the build warnings.
author John "Elwin" Edwards
date Sun, 31 Jan 2016 13:45:07 -0500
parents 382ff498acdd
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
216:b24545357d2e 217:94a0d9dd5ce1
22 22
23 /* 23 /*
24 * read_scroll: 24 * read_scroll:
25 * Let the hero read a scroll 25 * Let the hero read a scroll
26 */ 26 */
27 read_scroll() 27 void
28 read_scroll(void)
28 { 29 {
29 reg struct object *obj; 30 reg struct object *obj;
30 reg struct linked_list *item; 31 reg struct linked_list *item;
31 reg int i, j, wh; 32 reg int i, j, wh;
32 reg char ch, nch; 33 reg char ch, nch;