Add some missing declarations to headers. Remove some redundant
declarations elsewhere. Change linkage of some functions to static.
This commit is contained in:
parent
e7811102a3
commit
4a3f0b8146
43 changed files with 72 additions and 169 deletions
|
@ -49,10 +49,6 @@
|
|||
#include <fcntl.h>
|
||||
#include <math.h>
|
||||
|
||||
extern float start_education, start_happiness;
|
||||
extern float start_technology, start_research;
|
||||
extern int morale_base;
|
||||
|
||||
static int deity_build_land(int, coord, coord, natid, int);
|
||||
static int isok(int x, int y);
|
||||
static void ok(s_char *map, int x, int y);
|
||||
|
@ -64,9 +60,6 @@ static struct range defrealm = { -8, -5, 10, 5, 0, 0 };
|
|||
int
|
||||
new(void)
|
||||
{
|
||||
#ifdef START_UNITS
|
||||
extern int start_unit_type[START_UNITS];
|
||||
#endif /* START_UNITS */
|
||||
struct sctstr sect;
|
||||
struct natstr *natp;
|
||||
struct boundstr newrealms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue