magic numbers, show usage, fixed linty warnings
[open-adventure.git] / saveresume.c
index 50091718bc25f125c57d76f3cef3fca06a76e191..20b6344c1bfd2d93a107f6c973853f22d9efd211 100644 (file)
@@ -30,7 +30,7 @@ struct save_t {
 struct save_t save;
 
 /* Suspend and resume */
-int suspend(FILE *input)
+int suspend(void)
 {
     /*  Suspend.  Offer to save things in a file, but charging
      *  some points (so can't win by using saved games to retry
@@ -71,7 +71,7 @@ int suspend(FILE *input)
     exit(0);
 }
 
-int resume(FILE *input)
+int resume(void)
 {
     /*  Resume.  Read a suspended game back from a file.
      *  If ADVENT_NOSAVE is defined, do nothing instead. */