From 0a0ba19345d4c3688a74252a888d0f7040caf1c7 Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Mon, 16 Jul 2001 06:29:46 +0000 Subject: -Wall cleanup; ok deraadt --- usr.bin/yacc/closure.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/yacc/closure.c') diff --git a/usr.bin/yacc/closure.c b/usr.bin/yacc/closure.c index 654290df1d4..2437c1da994 100644 --- a/usr.bin/yacc/closure.c +++ b/usr.bin/yacc/closure.c @@ -1,4 +1,4 @@ -/* $OpenBSD: closure.c,v 1.3 1996/06/26 05:44:35 deraadt Exp $ */ +/* $OpenBSD: closure.c,v 1.4 2001/07/16 06:29:43 pvalchev Exp $ */ /* $NetBSD: closure.c,v 1.4 1996/03/19 03:21:29 jtc Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)closure.c 5.3 (Berkeley) 5/24/93"; #else -static char rcsid[] = "$OpenBSD: closure.c,v 1.3 1996/06/26 05:44:35 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: closure.c,v 1.4 2001/07/16 06:29:43 pvalchev Exp $"; #endif #endif /* not lint */ @@ -55,6 +55,7 @@ static unsigned *first_derives; static unsigned *EFF; +void set_EFF() { register unsigned *row; @@ -91,6 +92,7 @@ set_EFF() } +void set_first_derives() { register unsigned *rrow; @@ -146,6 +148,7 @@ set_first_derives() } +void closure(nucleus, n) short *nucleus; int n; @@ -216,6 +219,7 @@ int n; +void finalize_closure() { FREE(itemset); -- cgit v1.2.3