Partially ANSIfy C, fix compiler warnings.
[open-adventure.git] / actions1.c
index 464faffb03168701bdd16fa2ff66f2791d672463..74598b0aec172adafb4ce2ba3a659ffac6793cba 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
 #include "misc.h"
 #include "main.h"
 #include "share.h"
@@ -6,8 +7,6 @@
 #define TRUE  (0==0)
 #define FALSE (0!=0)
 
-extern carry(), discard(long), attack(), throw(), feed(), fill();
-
 /* This stuff was broken off as part of an effort to get the main program
  * to compile without running out of memory.  We're called with a number
  * that says what label the caller wanted to "goto", and we return a