/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: delete.c,v $
- * Revision 1.3 1995-12-07 11:48:55 adam
+ * Revision 1.5 1999-02-02 14:50:17 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1996/02/02 13:43:50 adam
+ * The public functions simply use char instead of Dict_char to represent
+ * search strings. Dict_char is used internally only.
+ *
+ * Revision 1.3 1995/12/07 11:48:55 adam
* Insert operation obeys DICT_type = 1 (slack in page).
* Function dict_open exists if page size or magic aren't right.
*
return 0;
}
-int dict_delete (Dict dict, const Dict_char *p)
+int dict_delete (Dict dict, const char *p)
{
if (dict->head.last == 1)
return 0;
- return dict_del (dict, p);
+ return dict_del (dict, (const Dict_char*) p);
}