]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Logging fast things part 2: fixes to allow make check work again
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 20 Nov 2014 11:16:35 +0000 (13:16 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 20 Nov 2014 11:16:35 +0000 (13:16 +0200)
Add tvSub and tvAssignAdd stubs to src/tests/stub_time.cc

src/tests/stub_time.cc

index a66f75915f639b518449adaa561ec64fa0dabf09..a73fd6e8219cb23a36f51e48f9670c4b30cd1c51 100644 (file)
@@ -18,6 +18,9 @@ time_t squid_curtime = 0;
 
 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("")