]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
compiler bugs
authorwessels <>
Fri, 25 Jun 1999 02:26:31 +0000 (02:26 +0000)
committerwessels <>
Fri, 25 Jun 1999 02:26:31 +0000 (02:26 +0000)
src/store.cc

index 2dc30a8c6cb0c9a898479c96fccd7a65c8a022d3..e2a901a8d467777fda2251a6baafbc55babca5a6 100644 (file)
@@ -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