diff xrogue/main.c @ 236:7c1cb43f346e

XRogue: get rid of VOID as an alias for long. Maybe some compilers in 1986 didn't handle void pointers well, but they are no longer a concern.
author John "Elwin" Edwards
date Mon, 07 Mar 2016 20:44:01 -0500
parents f54901b9c39b
children 3d4252fa2ed3
line wrap: on
line diff
--- a/xrogue/main.c	Mon Mar 07 19:26:08 2016 -0500
+++ b/xrogue/main.c	Mon Mar 07 20:44:01 2016 -0500
@@ -244,19 +244,19 @@
      * Start up daemons and fuses
      */
     start_daemon(doctor, &player, AFTER);
-    fuse(swander, (VOID *)NULL, WANDERTIME, AFTER);
+    fuse(swander, NULL, WANDERTIME, AFTER);
     /* Give characters their innate abilities */
     if (player.t_ctype == C_MAGICIAN || player.t_ctype == C_RANGER)
-            fuse(spell_recovery, (VOID *)NULL, SPELLTIME, AFTER);
+            fuse(spell_recovery, NULL, SPELLTIME, AFTER);
     if (player.t_ctype == C_DRUID    || player.t_ctype == C_MONK)
-            fuse(chant_recovery, (VOID *)NULL, SPELLTIME, AFTER);
+            fuse(chant_recovery, NULL, SPELLTIME, AFTER);
     if (player.t_ctype == C_CLERIC   || player.t_ctype == C_PALADIN)
-            fuse(prayer_recovery, (VOID *)NULL, SPELLTIME, AFTER);
-    start_daemon(stomach, (VOID *)NULL, AFTER);
+            fuse(prayer_recovery, NULL, SPELLTIME, AFTER);
+    start_daemon(stomach, NULL, AFTER);
     if (player.t_ctype == C_THIEF    ||
         player.t_ctype == C_ASSASSIN ||
         player.t_ctype == C_MONK)
-            start_daemon(trap_look, (VOID *)NULL, AFTER);
+            start_daemon(trap_look, NULL, AFTER);
 
     /* Does this character have any special knowledge? */
     switch (player.t_ctype) {