From: Dmitry Kurochkin Date: Mon, 22 Aug 2011 18:24:59 +0000 (+0400) Subject: Fix build errors when internal DNS is disabled. X-Git-Tag: take08~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91994a71d97826f4ca2c1163588ee64d96b285f5;p=thirdparty%2Fsquid.git Fix build errors when internal DNS is disabled. Rock store uses *_time_msec functions, so remove !USE_DNSSERVERS conditional compilation check around them. --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 46fe3fc75b..5c87ba79c0 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -3049,7 +3049,6 @@ free_time_t(time_t * var) *var = 0; } -#if !USE_DNSSERVERS static void dump_time_msec(StoreEntry * entry, const char *name, time_msec_t var) { @@ -3070,7 +3069,6 @@ free_time_msec(time_msec_t * var) { *var = 0; } -#endif #if UNUSED_CODE static void