From: Amos Jeffries Date: Wed, 13 Jul 2016 11:31:50 +0000 (+1200) Subject: Fix error: 'storeDigestRegisterWithCacheManager' was not declared X-Git-Tag: SQUID_4_0_13~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f0386af09cfb2ecf083a4ecc7421ec7ebf8c43c;p=thirdparty%2Fsquid.git Fix error: 'storeDigestRegisterWithCacheManager' was not declared --- diff --git a/src/store_digest.cc b/src/store_digest.cc index 1fbacda670..455cbbae42 100644 --- a/src/store_digest.cc +++ b/src/store_digest.cc @@ -79,12 +79,6 @@ static EVH storeDigestSwapOutStep; static void storeDigestCBlockSwapOut(StoreEntry * e); static void storeDigestAdd(const StoreEntry *); -static void -storeDigestRegisterWithCacheManager(void) -{ - Mgr::RegisterAction("store_digest", "Store Digest", storeDigestReport, 0, 1); -} - /// calculates digest capacity static uint64_t storeDigestCalcCap() @@ -124,7 +118,7 @@ storeDigestCalcCap() void storeDigestInit(void) { - storeDigestRegisterWithCacheManager(); + Mgr::RegisterAction("store_digest", "Store Digest", storeDigestReport, 0, 1); #if USE_CACHE_DIGESTS if (!Config.onoff.digest_generation) {