projects
/
wumpus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cleanup patches.
[wumpus.git]
/
wumpus.c
diff --git
a/wumpus.c
b/wumpus.c
index 5aef1c3a19608601b9d2f7062b48ffee81c5979c..3afd5680919e03d6844c30872fd13d5c22ff3f1c 100644
(file)
--- a/
wumpus.c
+++ b/
wumpus.c
@@
-30,6
+30,10
@@
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#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 *** */
/* 5 REM *** HUNT THE WUMPUS *** */
@@
-123,8
+127,6
@@
char *prompt;
void print_instructions()
{
void print_instructions()
{
- char ebuf[BUFSIZ];
-
/* 375 REM *** INSTRUCTIONS *** */
/* 380 PRINT "WELCOME TO 'HUNT THE WUMPUS'" */
puts("WELCOME TO 'HUNT THE WUMPUS'");
/* 375 REM *** INSTRUCTIONS *** */
/* 380 PRINT "WELCOME TO 'HUNT THE WUMPUS'" */
puts("WELCOME TO 'HUNT THE WUMPUS'");