From: Adam Dickmeiss Date: Mon, 6 Feb 1995 10:12:55 +0000 (+0000) Subject: Unused static function rm_SetElement was removed. X-Git-Tag: ZEBRA.1.0~793 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=a4e74639ad8d0c5db0b5d52b9f8412a1a5b3228d Unused static function rm_SetElement was removed. --- diff --git a/dfa/Makefile b/dfa/Makefile index 66a92b4..a83a74b 100644 --- a/dfa/Makefile +++ b/dfa/Makefile @@ -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) diff --git a/dfa/set.c b/dfa/set.c index 274b57c..3af74d7 100644 --- 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) {