summaryrefslogtreecommitdiff
path: root/ecs.c
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2012-08-07 12:18:08 -0400
committerWill Estes <westes575@gmail.com>2012-08-07 15:56:44 -0400
commitec676fce008138b222d072de28fb05e1dfd945fb (patch)
tree1d45f3a3df39df4647ec4487f426f8f6b564373a /ecs.c
parentc1a633de7c2ee2fb450b24ec46e9c4390f3c69ea (diff)
downloadflex-git-ec676fce008138b222d072de28fb05e1dfd945fb.tar.gz
reorganize flex skeleton and m4 processingbug-2172046
Diffstat (limited to 'ecs.c')
-rw-r--r--ecs.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/ecs.c b/ecs.c
index e2abbe4..1c94b66 100644
--- a/ecs.c
+++ b/ecs.c
@@ -74,8 +74,7 @@ void ccl2ecl ()
* Returned is the number of classes.
*/
-int cre8ecs (fwd, bck, num)
- int fwd[], bck[], num;
+int cre8ecs (int fwd[], int bck[], int num)
{
int i, j, numcl;
@@ -112,9 +111,8 @@ int cre8ecs (fwd, bck, num)
* NUL_mapping is the value which NUL (0) should be mapped to.
*/
-void mkeccl (ccls, lenccl, fwd, bck, llsiz, NUL_mapping)
- Char ccls[];
- int lenccl, fwd[], bck[], llsiz, NUL_mapping;
+void mkeccl (Char ccls[], int lenccl, int fwd[], int bck[],
+ int llsiz, int NUL_mapping)
{
int cclp, oldec, newec;
int cclm, i, j;
@@ -201,8 +199,7 @@ void mkeccl (ccls, lenccl, fwd, bck, llsiz, NUL_mapping)
/* mkechar - create equivalence class for single character */
-void mkechar (tch, fwd, bck)
- int tch, fwd[], bck[];
+void mkechar (int tch, int fwd[], int bck[])
{
/* If until now the character has been a proper subset of
* an equivalence class, break it away to create a new ec