Give logx() internal linkage

This commit is contained in:
Markus Armbruster 2008-02-29 07:08:59 +01:00
parent 0219bf086a
commit 61d632fc96
2 changed files with 1 additions and 2 deletions

View file

@ -747,7 +747,6 @@ extern void pln_do_upd_mob(struct plnstr *pp);
/* move_sat.c */ /* move_sat.c */
extern void move_sat(struct plnstr *); extern void move_sat(struct plnstr *);
/* nat.c */ /* nat.c */
extern double logx(double, double);
extern void prod_nat(int); extern void prod_nat(int);
/* nav_ship.c */ /* nav_ship.c */
extern int nav_ship(struct shpstr *); extern int nav_ship(struct shpstr *);

View file

@ -76,7 +76,7 @@ float levels[MAXNOC][4];
* into tech plants overnight... * into tech plants overnight...
*/ */
double static double
logx(double d, double base) logx(double d, double base)
{ {
if (base == 1.0) if (base == 1.0)