Unused static function rm_SetElement was removed.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Feb 1995 10:12:55 +0000 (10:12 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Feb 1995 10:12:55 +0000 (10:12 +0000)
dfa/Makefile
dfa/set.c

index 66a92b4..a83a74b 100644 (file)
@@ -1,7 +1,7 @@
 # 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
@@ -19,10 +19,10 @@ all: $(LIB)
 
 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
 
-$(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) 
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 $
- * 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.
  *
@@ -24,7 +27,6 @@
 #include "imalloc.h"
 
 
-static void rm_SetElement (SetType st, SetElement *p);
 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;
 }
 
+#if 0
 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--;
 }
+#endif
 
 Set rm_Set (SetType st, Set s)
 {