diff 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
line wrap: on
line diff
--- a/rogue4/scrolls.c	Sat Jan 23 09:35:14 2016 -0500
+++ b/rogue4/scrolls.c	Wed Jan 27 19:41:05 2016 -0500
@@ -18,7 +18,8 @@
  * read_scroll:
  *	Read a scroll from the pack and do the appropriate thing
  */
-read_scroll()
+void
+read_scroll(void)
 {
     register THING *obj;
     register int y, x;