summaryrefslogtreecommitdiff
path: root/ecs.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1988-02-13 11:00:46 +0000
committerVern Paxson <vern@ee.lbl.gov>1988-02-13 11:00:46 +0000
commitc58120445fe8edf709bbb987a3d665f6d5201b55 (patch)
tree523ba8abfb910f9196abd319b3eb491e0ea7572e /ecs.c
parent2cc578462372baa1b85936749946608d7f36415f (diff)
Beta Release.
Diffstat (limited to 'ecs.c')
-rw-r--r--ecs.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/ecs.c b/ecs.c
index 2a60c9b..8c01338 100644
--- a/ecs.c
+++ b/ecs.c
@@ -1,7 +1,15 @@
-/* lexecs - equivalence class routines */
+/* flexecs - equivalence class routines */
/*
- * Copyright (c) University of California, 1987
+ * Copyright (c) 1987, the University of California
+ *
+ * The United States Government has rights in this work pursuant to
+ * contract no. DE-AC03-76SF00098 between the United States Department of
+ * Energy and the University of California.
+ *
+ * This program may be redistributed. Enhancements and derivative works
+ * may be created provided the new works, if made available to the general
+ * public, are made available for use by anyone.
*/
#include "flexdef.h"
@@ -11,6 +19,7 @@
* synopsis
* ccl2ecl();
*/
+
ccl2ecl()
{
@@ -54,6 +63,7 @@ ccl2ecl()
* is the backward linked-list, and num is the number of class members.
* Returned is the number of classes.
*/
+
int cre8ecs( fwd, bck, num )
int fwd[], bck[], num;
@@ -91,6 +101,7 @@ int fwd[], bck[], num;
* number of elements in the ccl, fwd is the forward link-list of equivalent
* characters, bck is the backward link-list, and llsiz size of the link-list
*/
+
mkeccl( ccls, lenccl, fwd, bck, llsiz )
char ccls[];
int lenccl, fwd[], bck[], llsiz;
@@ -171,6 +182,7 @@ next_pt:
* int tch, fwd[], bck[];
* mkechar( tch, fwd, bck );
*/
+
mkechar( tch, fwd, bck )
int tch, fwd[], bck[];