comparison 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
comparison
equal deleted inserted replaced
235:2dcf10d45d5b 236:7c1cb43f346e
691 691
692 /* 692 /*
693 * Reset the signal in case we got here via an interrupt 693 * Reset the signal in case we got here via an interrupt
694 */ 694 */
695 695
696 if ((VOID(*)())signal(SIGINT, quit) != (VOID(*)())quit) 696 if (signal(SIGINT, quit) != quit)
697 mpos = 0; 697 mpos = 0;
698 698
699 getyx(cw, oy, ox); 699 getyx(cw, oy, ox);
700 if (level < 1) { /* if not down in the dungeon proper; exit the game */ 700 if (level < 1) { /* if not down in the dungeon proper; exit the game */
701 wclear(hw); 701 wclear(hw);