]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed 'make check' to work with clang after r15057.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 21 Feb 2017 16:32:01 +0000 (09:32 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 21 Feb 2017 16:32:01 +0000 (09:32 -0700)
src/tests/stub_DelayId.cc

index 5607b9abcd3ba7a0ca561642b7295d83ccc83058..82020b7096b4e5dcc5e9f9884fda68373f215a3f 100644 (file)
@@ -11,6 +11,7 @@
 #include "squid.h"
 
 #if USE_DELAY_POOLS
+#include "BandwidthBucket.h"
 #include "DelayId.h"
 
 #define STUB_API "stub_DelayId.cc"
@@ -20,6 +21,10 @@ DelayId::DelayId(): pool_(0), compositeId(NULL), markedAsNoDelay(false) {}
 DelayId::~DelayId() {}
 
 void DelayId::delayRead(DeferredRead const&) STUB_NOP
+void BandwidthBucket::refillBucket() STUB
+bool BandwidthBucket::applyQuota(int &, Comm::IoCallback *) STUB_RETVAL(false)
+BandwidthBucket *BandwidthBucket::SelectBucket(fde *) STUB_RETVAL(nullptr)
+void BandwidthBucket::reduceBucket(const int) STUB
 
 #endif /* USE_DELAY_POOLS */