From: Alex Rousskov Date: Tue, 21 Feb 2017 16:32:01 +0000 (-0700) Subject: Fixed 'make check' to work with clang after r15057. X-Git-Tag: M-staged-PR71~253 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5410b6385366ee8f33cb5077ce9128e4ed4326fb;p=thirdparty%2Fsquid.git Fixed 'make check' to work with clang after r15057. --- diff --git a/src/tests/stub_DelayId.cc b/src/tests/stub_DelayId.cc index 5607b9abcd..82020b7096 100644 --- a/src/tests/stub_DelayId.cc +++ b/src/tests/stub_DelayId.cc @@ -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 */