From: wessels <> Date: Wed, 31 May 2000 11:02:11 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1940 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4aa8765ebde0974c9194b10cdc23d9c2e39bba9;p=thirdparty%2Fsquid.git DW: - If we're going to remove some #if USE_UNLINKD statements, we might as well remove all of them so Squid compiles. --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index bb5d25e475..173ab67993 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.347 2000/05/31 01:04:49 hno Exp $ + * $Id: cache_cf.cc,v 1.348 2000/05/31 05:02:11 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -360,9 +360,7 @@ configDoConfigure(void) #if USE_DNSSERVERS requirePathnameExists("cache_dns_program", Config.Program.dnsserver); #endif -#if USE_UNLINKD requirePathnameExists("unlinkd_program", Config.Program.unlinkd); -#endif if (Config.Program.redirect) requirePathnameExists("redirect_program", Config.Program.redirect->key); if (Config.Program.authenticate) diff --git a/src/cf.data.pre b/src/cf.data.pre index e17af3becc..b89a7a795b 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.185 2000/05/31 01:04:49 hno Exp $ +# $Id: cf.data.pre,v 1.186 2000/05/31 05:04:04 wessels Exp $ # # # SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -944,7 +944,6 @@ DOC_END NAME: unlinkd_program -IFDEF: USE_UNLINKD TYPE: string DEFAULT: @DEFAULT_UNLINKD@ LOC: Config.Program.unlinkd diff --git a/src/main.cc b/src/main.cc index eab64b43d3..600cdc3521 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.311 2000/05/31 01:04:49 hno Exp $ + * $Id: main.cc,v 1.312 2000/05/31 05:02:11 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -494,9 +494,7 @@ mainInitialize(void) #endif if (!configured_once) { -#if USE_UNLINKD unlinkdInit(); -#endif urlInitialize(); cachemgrInit(); statInit(); @@ -907,9 +905,7 @@ SquidShutdown(void *unused) #endif releaseServerSockets(); commCloseAllSockets(); -#if USE_UNLINKD unlinkdClose(); -#endif storeDirSync(); /* Flush pending object writes/unlinks */ storeDirWriteCleanLogs(0); PrintRusage(); diff --git a/src/protos.h b/src/protos.h index 859455d55a..de62925e4e 100644 --- a/src/protos.h +++ b/src/protos.h @@ -1,6 +1,6 @@ /* - * $Id: protos.h,v 1.367 2000/05/31 01:04:50 hno Exp $ + * $Id: protos.h,v 1.368 2000/05/31 05:02:11 wessels Exp $ * * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -1012,11 +1012,9 @@ extern void pumpStart(int, FwdState *, CWCB * callback, void *); extern int pumpMethod(method_t method); extern int pumpRestart(request_t *); -#if USE_UNLINKD extern void unlinkdInit(void); extern void unlinkdClose(void); extern void unlinkdUnlink(const char *); -#endif extern char *url_convert_hex(char *org_url, int allocate); extern char *url_escape(const char *url); diff --git a/src/structs.h b/src/structs.h index f42cce11e2..596e4193c9 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.336 2000/05/31 01:04:50 hno Exp $ + * $Id: structs.h,v 1.337 2000/05/31 05:02:12 wessels Exp $ * * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -312,9 +312,7 @@ struct _SquidConfig { #if USE_ICMP char *pinger; #endif -#if USE_UNLINKD char *unlinkd; -#endif } Program; #if USE_DNSSERVERS int dnsChildren;