Browse Source

elim divides

cxgeorge 24 years ago
parent
commit
168e572faa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/express/trueClock.cxx

+ 2 - 2
panda/src/express/trueClock.cxx

@@ -42,10 +42,10 @@ TrueClock *TrueClock::_global_ptr = NULL;
 static BOOL _has_high_res;
 static BOOL _has_high_res;
 static PN_int64 _frequency;
 static PN_int64 _frequency;
 static PN_int64 _init_count;
 static PN_int64 _init_count;
-double _fFrequency,_recip_fFrequency;
+static double _fFrequency,_recip_fFrequency;
 static DWORD _init_tc;
 static DWORD _init_tc;
 static bool _paranoid_clock;
 static bool _paranoid_clock;
-const double _0001 = 1.0/1000.0;
+static const double _0001 = 1.0/1000.0;
 
 
 void get_true_time_of_day(ulong &sec, ulong &usec) {
 void get_true_time_of_day(ulong &sec, ulong &usec) {
   struct timeb tb;
   struct timeb tb;