projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a9e7dc
)
Unused static function rm_SetElement was removed.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Feb 1995 10:12:55 +0000
(10:12 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Feb 1995 10:12:55 +0000
(10:12 +0000)
dfa/Makefile
patch
|
blob
|
history
dfa/set.c
patch
|
blob
|
history
diff --git
a/dfa/Makefile
b/dfa/Makefile
index
66a92b4
..
a83a74b
100644
(file)
--- a/
dfa/Makefile
+++ b/
dfa/Makefile
@@
-1,7
+1,7
@@
# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.6 1995-01-24 16:00:20 adam Exp $
+# $Id: Makefile,v 1.7 1995-02-06 10:12:55 adam Exp $
SHELL=/bin/sh
INCLUDE=-I../include
SHELL=/bin/sh
INCLUDE=-I../include
@@
-19,10
+19,10
@@
all: $(LIB)
alll: $(LIB) $(TPROG1) $(TPROG2) $(TPROG3)
alll: $(LIB) $(TPROG1) $(TPROG2) $(TPROG3)
-$(TPROG1): $(TPROG1).o $(LIB)
+$(TPROG1): $(TPROG1).o $(LIB) ../lib/util.a
$(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
$(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
-$(TPROG2): $(TPROG2).o readfile.o $(LIB)
+$(TPROG2): $(TPROG2).o readfile.o $(LIB) ../lib/util.a
$(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o readfile.o $(LIB) ../lib/util.a
$(TPROG3): $(TPROG3).o $(LIB)
$(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o readfile.o $(LIB) ../lib/util.a
$(TPROG3): $(TPROG3).o $(LIB)
diff --git
a/dfa/set.c
b/dfa/set.c
index
274b57c
..
3af74d7
100644
(file)
--- a/
dfa/set.c
+++ b/
dfa/set.c
@@
-4,7
+4,10
@@
* 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.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.
*
@@
-24,7
+27,6
@@
#include "imalloc.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
+98,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
+107,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)
{