]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Moved time_msec_t from typedefs.h to SquidTime.h
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 28 Aug 2015 18:29:16 +0000 (20:29 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 28 Aug 2015 18:29:16 +0000 (20:29 +0200)
src/DiskIO/DiskFile.h
src/SquidConfig.h
src/SquidTime.h
src/typedefs.h

index 3d2646de44f9b2182607f65963bf5cdd586699bc..4695763616489a06c166f4d058252378b340f989 100644 (file)
@@ -10,7 +10,7 @@
 #define SQUID_DISKFILE_H
 
 #include "base/RefCount.h"
-#include "typedefs.h"
+#include "SquidTime.h"
 
 class IORequestor;
 
index 22c9d3dd4e40c85255f103ed1a6ae526da286df7..ff0aa92c241ef3d27035703510b67458c0b39f34 100644 (file)
@@ -18,6 +18,7 @@
 #include "ip/Address.h"
 #include "Notes.h"
 #include "security/forward.h"
+#include "SquidTime.h"
 #include "YesNoNone.h"
 
 #if USE_OPENSSL
index c4fa27e4eceb38dd613a3dc06a75dbc105037c6b..dc5653351e5fb480190c61a649679bc02435f221 100644 (file)
@@ -16,6 +16,9 @@
 #include <ctime>
 /* NP: sys/time.h is provided by libcompat */
 
+/*Use uint64_t to store miliseconds*/
+typedef uint64_t time_msec_t;
+
 /* globals for accessing time */
 extern struct timeval current_time;
 extern double current_dtime;
index 6bca8aca28dd6a2b2961d26e398e86c7718fe376..1d5a4275203b53790600bc71ee0d9c9da70497f9 100644 (file)
@@ -44,7 +44,5 @@ class StoreEntry;
 /* MD5 cache keys */
 typedef unsigned char cache_key;
 
-/*Use uint64_t to store miliseconds*/
-typedef uint64_t time_msec_t;
 #endif /* SQUID_TYPEDEFS_H */