-/* $Id: merge.c,v 1.21 2002-08-02 19:26:56 adam Exp $
+/* $Id: merge.c,v 1.23 2003-06-23 15:36:11 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
int dirty; /* block is different from that on file */
};
+#if 0
static void opt_blocks (ISAMC is, struct isc_merge_block *mb, int ptr,
int last)
{
if (!last)
mb[i].dirty = 1;
}
+#endif
static void flush_blocks (ISAMC is, struct isc_merge_block *mb, int ptr,
char *r_buf, int *firstpos, int cat, int last,
return mb[ptr].offset + fill - off;
}
-ISAMC_P isc_merge (ISAMC is, ISAMC_P ipos, ISAMC_I data)
+ISAMC_P isc_merge (ISAMC is, ISAMC_P ipos, ISAMC_I *data)
{
char i_item[128], *i_item_ptr;
/*
* $Log: merge.c,v $
- * Revision 1.21 2002-08-02 19:26:56 adam
+ * Revision 1.23 2003-06-23 15:36:11 adam
+ * Implemented isamb_unlink.
+ *
+ * Revision 1.22 2003/03/05 16:41:10 adam
+ * Fix GCC warnings
+ *
+ * Revision 1.21 2002/08/02 19:26:56 adam
* Towards GPL
*
* Revision 1.20 1999/11/30 13:48:04 adam