Partially ANSIfy C, fix compiler warnings.
This commit is contained in:
parent
3d8a9827dd
commit
c9e9b64575
8 changed files with 29 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue