projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New result set method: r_score.
[idzebra-moved-to-github.git]
/
dfa
/
set.c
diff --git
a/dfa/set.c
b/dfa/set.c
index
274b57c
..
3c3f832
100644
(file)
--- a/
dfa/set.c
+++ b/
dfa/set.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: set.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: set.c,v $
- * Revision 1.2 1995-01-24 16:00:22 adam
+ * Revision 1.4 1995-09-04 12:33:27 adam
+ * Various cleanup. YAZ util used instead.
+ *
+ * Revision 1.3 1995/02/06 10:12:55 adam
+ * Unused static function rm_SetElement was removed.
+ *
+ * Revision 1.2 1995/01/24 16:00:22 adam
* Added -ansi to CFLAGS.
* Some changes to the dfa module.
*
* Added -ansi to CFLAGS.
* Some changes to the dfa module.
*
@@
-19,12
+25,11
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#include <util.h>
+#include <alexutil.h>
#include <set.h>
#include "imalloc.h"
#include <set.h>
#include "imalloc.h"
-static void rm_SetElement (SetType st, SetElement *p);
static Set mk_SetElement (SetType st, int n);
SetType mk_SetType (int chunk)
static Set mk_SetElement (SetType st, int n);
SetType mk_SetType (int chunk)
@@
-96,6
+101,7
@@
static Set mk_SetElement (SetType st, int n)
return s;
}
return s;
}
+#if 0
static void rm_SetElement (SetType st, SetElement *p)
{
assert (st);
static void rm_SetElement (SetType st, SetElement *p)
{
assert (st);
@@
-104,6
+110,7
@@
static void rm_SetElement (SetType st, SetElement *p)
st->freelist = p;
st->used--;
}
st->freelist = p;
st->used--;
}
+#endif
Set rm_Set (SetType st, Set s)
{
Set rm_Set (SetType st, Set s)
{