+/*
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#include "squid.h"
#include "SquidTime.h"
#define STUB_API "time.cc"
-#include "STUB.h"
+#include "tests/STUB.h"
struct timeval current_time;
double current_dtime;
time_t squid_curtime = 0;
-time_t getCurrentTime(void) STUB
-int tvSubMsec(struct timeval, struct timeval) STUB
-const char * Time::FormatStrf(time_t ) STUB
-const char * Time::FormatHttpd(time_t ) STUB
+time_t getCurrentTime(void) STUB_RETVAL(0)
+int tvSubMsec(struct timeval, struct timeval) STUB_RETVAL(0)
+void tvSub(timeval&, timeval const&, timeval const&) STUB
+void tvAssignAdd(timeval&, timeval const&) STUB
+
+const char * Time::FormatStrf(time_t ) STUB_RETVAL("")
+const char * Time::FormatHttpd(time_t ) STUB_RETVAL("")
+
+void TimeEngine::tick() STUB
+TimeEngine::~TimeEngine() {STUB_NOP}
+
+std::ostream &operator <<(std::ostream &os, const timeval &) STUB_RETVAL(os)
+