]> git.pond.sub.org Git - empserver/commitdiff
Give logx() internal linkage
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 29 Feb 2008 06:08:59 +0000 (07:08 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:10 +0000 (20:25 +0100)
include/prototypes.h
src/lib/update/nat.c

index 61b63276f5c824f6ea0f598e3cbffa3b9e68b941..13f386458180f89a19bcb57e6fead277c2559c67 100644 (file)
@@ -747,7 +747,6 @@ extern void pln_do_upd_mob(struct plnstr *pp);
 /* move_sat.c */
 extern void move_sat(struct plnstr *);
 /* nat.c */
-extern double logx(double, double);
 extern void prod_nat(int);
 /* nav_ship.c */
 extern int nav_ship(struct shpstr *);
index 6bf09c85ab2c4632546fc8cb087038c71fc12bdc..e7d50b0eec86c2a2ee6686f746a619b065100262 100644 (file)
@@ -76,7 +76,7 @@ float levels[MAXNOC][4];
  * into tech plants overnight...
  */
 
-double
+static double
 logx(double d, double base)
 {
     if (base == 1.0)