]> git.pond.sub.org Git - empserver/commitdiff
(updating_mob, timestamp_fixing): Inappropriate for global/, move to
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 19 Feb 2004 16:39:31 +0000 (16:39 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 19 Feb 2004 16:39:31 +0000 (16:39 +0000)
update/mobility.c.
(timestamp_fixing, do_upd_checking): Static linkage.

src/lib/global/constants.c
src/lib/update/mobility.c

index 191011ac57ac5962f4afec5b9615e6bc5183c50b..e1ba71320ce652073e99f4afb01d47cec860737c 100644 (file)
@@ -80,8 +80,6 @@ int morale_base = 42;         /* base for morale */
 /* opt_MOB_ACCESS */
 int sect_mob_neg_factor = 2;   /* ETU/neg_factor = negative amount of mobility
                                   a sector has after being taken */
-int updating_mob = 1;          /* If we are currently updating mob */
-int timestamp_fixing = 0;      /* If we are currently fixing timestamps */
 
 int lost_items_timeout = 172800;       /* How long before removing from database */
 
index 12bc80fa7f2abcd95e2f1d4d246e30ee084863ba..54080b058960189244e316d3aa7c3f7aea535a66 100644 (file)
 #include "subs.h"
 #include "optlist.h"
 
-extern int timestamp_fixing;
 extern int update_pending;
-int do_upd_checking = 0;
+
+int updating_mob = 1;
+
+static int timestamp_fixing;
+static int do_upd_checking = 0;
 
 static void do_mob_land(register struct lndstr *, register int);
 static void do_mob_plane(register struct plnstr *, register int);