Mercurial > hg > early-roguelike
comparison arogue7/eat.c @ 219:f9ef86cf22b2
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.
author | John "Elwin" Edwards |
---|---|
date | Fri, 19 Feb 2016 21:02:28 -0500 |
parents | adfa37e67084 |
children |
comparison
equal
deleted
inserted
replaced
218:56e748983fa8 | 219:f9ef86cf22b2 |
---|---|
18 /* | 18 /* |
19 * eat: | 19 * eat: |
20 * He wants to eat something, so let him try | 20 * He wants to eat something, so let him try |
21 */ | 21 */ |
22 | 22 |
23 eat() | 23 void |
24 eat(void) | |
24 { | 25 { |
25 register struct linked_list *item; | 26 register struct linked_list *item; |
26 int which; | 27 int which; |
27 unsigned long temp; | 28 unsigned long temp; |
28 | 29 |