From 6b67276f4ff7e22ff72165d393bc3aa6e2d3a3d6 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 19 Feb 2004 16:39:31 +0000 Subject: [PATCH] (updating_mob, timestamp_fixing): Inappropriate for global/, move to update/mobility.c. (timestamp_fixing, do_upd_checking): Static linkage. --- src/lib/global/constants.c | 2 -- src/lib/update/mobility.c | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib/global/constants.c b/src/lib/global/constants.c index 191011ac..e1ba7132 100644 --- a/src/lib/global/constants.c +++ b/src/lib/global/constants.c @@ -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 */ diff --git a/src/lib/update/mobility.c b/src/lib/update/mobility.c index 12bc80fa..54080b05 100644 --- a/src/lib/update/mobility.c +++ b/src/lib/update/mobility.c @@ -47,9 +47,12 @@ #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);