Give try_supply_commod() internal linkage
This commit is contained in:
parent
627e7d452d
commit
6709931d51
2 changed files with 1 additions and 2 deletions
|
@ -690,7 +690,6 @@ extern void snxtsct_dist(struct nstr_sect *, coord, coord, int);
|
||||||
extern void resupply_all(struct lndstr *);
|
extern void resupply_all(struct lndstr *);
|
||||||
extern void resupply_commod(struct lndstr *, i_type);
|
extern void resupply_commod(struct lndstr *, i_type);
|
||||||
extern int supply_commod(int, int, int, i_type, int);
|
extern int supply_commod(int, int, int, i_type, int);
|
||||||
extern int try_supply_commod(int, int, int, i_type, int);
|
|
||||||
extern int has_supply(struct lndstr *);
|
extern int has_supply(struct lndstr *);
|
||||||
/* takeover.c */
|
/* takeover.c */
|
||||||
extern void takeover_land(struct lndstr *, natid, int);
|
extern void takeover_land(struct lndstr *, natid, int);
|
||||||
|
|
|
@ -132,7 +132,7 @@ supply_commod(int own, int x, int y, i_type type, int total_wanted)
|
||||||
/*
|
/*
|
||||||
* Just return the number you COULD get, without doing it
|
* Just return the number you COULD get, without doing it
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
try_supply_commod(int own, int x, int y, i_type type, int total_wanted)
|
try_supply_commod(int own, int x, int y, i_type type, int total_wanted)
|
||||||
{
|
{
|
||||||
if (total_wanted < 0)
|
if (total_wanted < 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue