Minimal forward-port to modern C - just enough to get it to compile.

This commit is contained in:
Eric S. Raymond 2017-02-16 13:14:57 -05:00
parent 24d7aeaf8a
commit 50ab7b9d47
4 changed files with 26 additions and 14 deletions

View file

@ -17,7 +17,7 @@ extern carry(), discard(long), attack(), throw(), feed(), fill();
/* ANALYSE A VERB. REMEMBER WHAT IT WAS, GO BACK FOR OBJECT IF SECOND WORD
* UNLESS VERB IS "SAY", WHICH SNARFS ARBITRARY SECOND WORD. */
action(STARTAT)long STARTAT; {
int action(STARTAT)long STARTAT; {
switch(STARTAT) {
case 4000: goto L4000;
case 4090: goto L4090;