aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/yacc/warshall.c
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1997-01-12 21:16:25 +0000
committerSteve Price <steve@FreeBSD.org>1997-01-12 21:16:25 +0000
commit2726ae5b7c832047a482a8734294a711adcf9742 (patch)
tree4a29aa37d9b588ebaa4593890dad7a484f506901 /usr.bin/yacc/warshall.c
parent7af0f32ba65f65565a67cafbf45e77de9fc4cd09 (diff)
downloadsrc-2726ae5b7c832047a482a8734294a711adcf9742.tar.gz
src-2726ae5b7c832047a482a8734294a711adcf9742.zip
This doesn't change any functionality, it simple makes yacc(1)
compile -Wall clean.
Notes
Notes: svn path=/head/; revision=21622
Diffstat (limited to 'usr.bin/yacc/warshall.c')
-rw-r--r--usr.bin/yacc/warshall.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/yacc/warshall.c b/usr.bin/yacc/warshall.c
index 4672244e3681..1ac491966549 100644
--- a/usr.bin/yacc/warshall.c
+++ b/usr.bin/yacc/warshall.c
@@ -35,11 +35,14 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)warshall.c 5.4 (Berkeley) 5/24/93";
+static char const sccsid[] = "@(#)warshall.c 5.4 (Berkeley) 5/24/93";
#endif /* not lint */
#include "defs.h"
+static void transitive_closure __P((unsigned *, int));
+
+static void
transitive_closure(R, n)
unsigned *R;
int n;
@@ -92,6 +95,7 @@ int n;
}
}
+void
reflexive_transitive_closure(R, n)
unsigned *R;
int n;