diff xrogue/command.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 e52a8a7ad4c5
line wrap: on
line diff
--- a/xrogue/command.c	Mon Mar 07 19:26:08 2016 -0500
+++ b/xrogue/command.c	Mon Mar 07 20:44:01 2016 -0500
@@ -693,7 +693,7 @@
      * Reset the signal in case we got here via an interrupt
      */
 
-    if ((VOID(*)())signal(SIGINT, quit) != (VOID(*)())quit)
+    if (signal(SIGINT, quit) != quit)
         mpos = 0;
 
     getyx(cw, oy, ox);