diff 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
line wrap: on
line diff
--- a/srogue/scrolls.c	Thu Jan 28 18:55:47 2016 -0500
+++ b/srogue/scrolls.c	Sun Jan 31 13:45:07 2016 -0500
@@ -24,7 +24,8 @@
  * read_scroll:
  *	Let the hero read a scroll
  */
-read_scroll()
+void
+read_scroll(void)
 {
 	reg struct object *obj;
 	reg struct linked_list *item;