Code cleanup patches.
[wumpus.git] / wumpus.c
index a1abb700c565cdcbe3f8865036ca65a312e32ef0..3afd5680919e03d6844c30872fd13d5c22ff3f1c 100644 (file)
--- a/wumpus.c
+++ b/wumpus.c
 
 #include <stdio.h>
 #include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <time.h>
+#include <sys/socket.h>
 
 /* 5 REM *** HUNT THE WUMPUS ***                                       */
 
@@ -122,8 +127,6 @@ char *prompt;
 
 void print_instructions()
 {
-    char ebuf[BUFSIZ];
-
 /* 375 REM *** INSTRUCTIONS ***                                                */
 /* 380 PRINT "WELCOME TO 'HUNT THE WUMPUS'"                            */
     puts("WELCOME TO 'HUNT THE WUMPUS'");