fixed compiler warnings (after adding "-Wstrict-prototypes")
[rocksndiamonds.git] / src / game_sp / MainGameLoop.c
index 61d5ed1c663414e456599b12037af2eb2a1805ec..dcbe62f436d7099265482f686d6423a6b95d99c6 100644 (file)
@@ -16,7 +16,7 @@ boolean AutoScrollFlag;
 // Play a game/demo
 // ==========================================================================
 
 // Play a game/demo
 // ==========================================================================
 
-void subMainGameLoop_Init()
+void subMainGameLoop_Init(void)
 {
   // This was a bug in the original Supaplex: sometimes red disks could not
   // be released.  This happened if Murphy was killed DURING a red disk release
 {
   // This was a bug in the original Supaplex: sometimes red disks could not
   // be released.  This happened if Murphy was killed DURING a red disk release
@@ -79,7 +79,7 @@ void subMainGameLoop_Main(byte action, boolean warp_mode)
     game_sp.GameOver = TRUE;
 }
 
     game_sp.GameOver = TRUE;
 }
 
-void subCalculateScreenScrollPos()
+void subCalculateScreenScrollPos(void)
 {
   int jump_pos = TILEX / 2;
 
 {
   int jump_pos = TILEX / 2;