Use prototypes and bools.
[open-adventure.git] / score.c
diff --git a/score.c b/score.c
index acda23f8f6d32da7a9a7cb12b8b77e922871ad87..484588620be4ab4e854e3f68a6a8a11c8ca4bae7 100644 (file)
--- a/score.c
+++ b/score.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include "misc.h"
 #include "main.h"
 #include "share.h"
@@ -9,7 +10,7 @@
  * SCORING AND WRAP-UP
  */
 
-void score(MODE)long MODE; {
+void score(long MODE) {
        /* <0 if scoring, >0 if quitting, =0 if died or won */
 
 /*  THE PRESENT SCORING ALGORITHM IS AS FOLLOWS: