From: wessels <> Date: Fri, 25 Jun 1999 02:26:31 +0000 (+0000) Subject: compiler bugs X-Git-Tag: SQUID_3_0_PRE1~2143 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fc2a52c190dd2a3df54b91417c4d70bc6f4b39e;p=thirdparty%2Fsquid.git compiler bugs --- diff --git a/src/store.cc b/src/store.cc index 2dc30a8c6c..e2a901a8d4 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.504 1999/06/24 20:20:12 wessels Exp $ + * $Id: store.cc,v 1.505 1999/06/24 20:26:31 wessels Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -87,9 +87,11 @@ static int getKeyCounter(void); static int storeKeepInMemory(const StoreEntry *); static OBJH storeCheckCachableStats; static EVH storeLateRelease; +#if HEAP_REPLACEMENT static heap_key_func HeapKeyGen_StoreEntry_LFUDA; static heap_key_func HeapKeyGen_StoreEntry_GDSF; static heap_key_func HeapKeyGen_StoreEntry_LRU; +#endif /* * local variables @@ -1490,6 +1492,7 @@ storeEntryReset(StoreEntry * e) mem->reply = httpReplyCreate(); } +#if HEAP_REPLACEMENT void storeHeapPositionUpdate(StoreEntry * e) { @@ -1499,3 +1502,4 @@ storeHeapPositionUpdate(StoreEntry * e) if (e->mem_obj->node) heap_update(inmem_heap, e->mem_obj->node, e); } +#endif