subs: Give shp_nav_put(), lnd_mar_put() internal linkage
With autonav and SAIL gone, shp_nav_put() isn't used externally anymore. lnd_mar_put() never was; it got external linkage just for symmetry. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
dc73207a99
commit
6e386d101a
4 changed files with 2 additions and 4 deletions
|
@ -186,7 +186,6 @@ extern void lnd_takemob(struct emp_qelem *, double);
|
||||||
extern int lnd_spyval(struct lndstr *);
|
extern int lnd_spyval(struct lndstr *);
|
||||||
extern void intelligence_report(int, struct lndstr *, int, char *);
|
extern void intelligence_report(int, struct lndstr *, int, char *);
|
||||||
extern void lnd_mar(struct emp_qelem *, double *, double *, int *, natid);
|
extern void lnd_mar(struct emp_qelem *, double *, double *, int *, natid);
|
||||||
extern void lnd_mar_put(struct emp_qelem *, natid);
|
|
||||||
extern void lnd_put(struct emp_qelem *);
|
extern void lnd_put(struct emp_qelem *);
|
||||||
extern void lnd_put_one(struct ulist *);
|
extern void lnd_put_one(struct ulist *);
|
||||||
extern int lnd_hardtarget(struct lndstr *);
|
extern int lnd_hardtarget(struct lndstr *);
|
||||||
|
|
|
@ -164,7 +164,6 @@ extern double shp_torp_hitchance(struct shpstr *, int);
|
||||||
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
|
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
|
||||||
extern struct ulist *shp_insque(struct shpstr *, struct emp_qelem *);
|
extern struct ulist *shp_insque(struct shpstr *, struct emp_qelem *);
|
||||||
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
|
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
|
||||||
extern void shp_nav_put(struct emp_qelem *, natid);
|
|
||||||
extern int shp_sweep(struct emp_qelem *, int, int, natid);
|
extern int shp_sweep(struct emp_qelem *, int, int, natid);
|
||||||
extern enum d_navigation shp_check_nav(struct shpstr *, struct sctstr *);
|
extern enum d_navigation shp_check_nav(struct shpstr *, struct sctstr *);
|
||||||
extern int sect_has_dock(struct sctstr *);
|
extern int sect_has_dock(struct sctstr *);
|
||||||
|
|
|
@ -532,7 +532,7 @@ lnd_mar_put_one(struct ulist *llp)
|
||||||
lnd_put_one(llp);
|
lnd_put_one(llp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
lnd_mar_put(struct emp_qelem *list, natid actor)
|
lnd_mar_put(struct emp_qelem *list, natid actor)
|
||||||
{
|
{
|
||||||
struct emp_qelem *qp, *next;
|
struct emp_qelem *qp, *next;
|
||||||
|
|
|
@ -174,7 +174,7 @@ shp_nav(struct emp_qelem *list, double *minmobp, double *maxmobp,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
shp_nav_put(struct emp_qelem *list, natid actor)
|
shp_nav_put(struct emp_qelem *list, natid actor)
|
||||||
{
|
{
|
||||||
struct emp_qelem *qp, *next;
|
struct emp_qelem *qp, *next;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue