diff srogue/rogue.h @ 228:b67b99f6c92b

Daemons and fuses now return void. Functions for starting and stopping daemons and fuses now expect the type 'void (*func)()'. Only a few functions in XRogue needed to be modified to fit. Determining the type of the argument is left for a later date. Building with GCC5 should now produce less than 200 lines of warnings per game.
author John "Elwin" Edwards
date Sat, 05 Mar 2016 20:49:37 -0500
parents 3de8058dd549
children c10fe421b8fb
line wrap: on
line diff
--- a/srogue/rogue.h	Sat Mar 05 12:10:20 2016 -0500
+++ b/srogue/rogue.h	Sat Mar 05 20:49:37 2016 -0500
@@ -531,7 +531,7 @@
 
 struct delayed_action {
 	int d_type;
-	int (*d_func)();
+	void (*d_func)();
 	int d_arg;
 	int d_time;
 };