/*
- * $Id: store.cc,v 1.204 1997/01/31 21:16:50 wessels Exp $
+ * $Id: store.cc,v 1.205 1997/01/31 23:59:56 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
{
int i;
if (MaintBucketsOrder == NULL)
- MaintBucketsOrder = xcalloc(store_buckets, sizeof(unsigned int));
+ MaintBucketsOrder = xcalloc(store_buckets, sizeof(unsigned int));
for (i = 0; i < store_buckets; i++)
*(MaintBucketsOrder + i) = (unsigned int) i;
qsort((char *) MaintBucketsOrder,
store_buckets,
sizeof(unsigned int),
- (QS) compareRandom);
+ (QS) compareRandom);
}
static void
scan_revolutions++;
debug(20, 1, "Completed %d full expiration scans of store table\n",
scan_revolutions);
- storeRandomizeBuckets();
+ storeRandomizeBuckets();
}
bucket = *(MaintBucketsOrder + bucket_index);
bucket_index++;