]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix stub_time definitions
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Oct 2013 09:27:45 +0000 (02:27 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 29 Oct 2013 09:27:45 +0000 (02:27 -0700)
src/tests/stub_time.cc

index 67299bdfaa4224ce82499eb37689057ee908dfd1..1366b267923240397a0c68ce47991573538ce2da 100644 (file)
@@ -8,7 +8,7 @@ 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)
+const char * Time::FormatStrf(time_t ) STUB_RETVAL("")
+const char * Time::FormatHttpd(time_t ) STUB_RETVAL("")