diff 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
line wrap: on
line diff
--- a/arogue7/eat.c	Sun Feb 07 14:39:21 2016 -0500
+++ b/arogue7/eat.c	Fri Feb 19 21:02:28 2016 -0500
@@ -20,7 +20,8 @@
  *	He wants to eat something, so let him try
  */
 
-eat()
+void
+eat(void)
 {
     register struct linked_list *item;
     int which;